From 1a68a418504be966158efd7c8b11264b9af21bc2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 16 Oct 2025 16:06:37 +0100 Subject: [PATCH] gnu: Add python-eventio-1. * gnu/packages/astronomy.scm (python-eventio-1): New variable. Change-Id: I55a95fe3881ff76d5343298fdf5a9024c83aef39 --- gnu/packages/astronomy.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 4c4f7b551eff4e80bea2a478b0a67cd521e1d74c..ebedc98549101c361523de9b4b6557d26284be5a 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4363,6 +4363,22 @@ tools for astronomers.") "Python read-only implementation of the @code{EventIO} file format.") (license license:expat))) +;; 2.0.0 introduced breaching changes in API. +(define-public python-eventio-1 + (package + (inherit python-eventio) + (name "python-eventio") + (version "1.16.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cta-observatory/pyeventio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jg2zgs0z5jfkdkbgxiiclxkyxrz4zhb57x1ji0c5pd2vsrn4g92")))))) + (define-public python-extinction (package (name "python-extinction")