guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 18273ff06f912304aa6f215adf6d044c84b57f89
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 16 23:01:53 2025 +0000

    gnu: Add python-gizmo-analysis.
    
    * gnu/packages/astronomy.scm (python-gizmo-analysis): New variable.
    
    Change-Id: I7f21d3a3040fd4a5449f2b8f46aed1dcaa92e1a9
---
 gnu/packages/astronomy.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7dceba1ad7..f1261f735a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4982,6 +4982,42 @@ Python.")
            python-pyyaml
            python-qtpy))))
 
+(define-public python-gizmo-analysis
+  (package
+    (name "python-gizmo-analysis")
+    (version "1.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gizmo_analysis" version))
+       (sha256
+        (base32 "199wvy9jnb76dp1xvh8r3gyjrxipvh51fpvhqgc6gq0frkjxxnf9"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f ;no tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'relax-requirements
+            ;; XXX: remove on python-team merge
+            (lambda _
+              (substitute* "pyproject.toml"
+                ((">=1.13") ">=1.11")))))))
+    (native-inputs
+     (list python-setuptools))
+    (propagated-inputs
+     (list python-h5py
+           python-matplotlib
+           python-numpy
+           python-scipy
+           python-utilities-awetzel))
+    (home-page "https://bitbucket.org/awetzel/gizmo_analysis";)
+    (synopsis "Read and analyze Gizmo simulations")
+    (description
+     "Python package for reading and analyzing simulations generated using
+the Gizmo code, in particular, the FIRE cosmological simulations.")
+    (license license:expat)))
+
 (define-public python-glue-astronomy
   (package
     (name "python-glue-astronomy")

Reply via email to