diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-20 23:16:58 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-27 17:03:09 +0100 |
commit | e4a64fe526c43849aa4f8611a54fe3b5e3861c21 (patch) | |
tree | 2784df29d39dd220c1da99fa474162b007bac804 /gnu | |
parent | 4ba88b2d72a6143eee9a05bcd166d17cc2b1ac78 (diff) | |
download | guix-e4a64fe526c43849aa4f8611a54fe3b5e3861c21.tar.gz guix-e4a64fe526c43849aa4f8611a54fe3b5e3861c21.zip |
gnu: Add python-zodipy.
* gnu/packages/astronomy.scm (python-zodipy): New variable.
Change-Id: I15a7603330ee0ca19ec6073ac312e15f44db1a2b
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/astronomy.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 75b21ae331..a77781175b 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6017,6 +6017,46 @@ analysis. This package contains functionality for: @end itemize") (license (list license:bsd-3 license:lgpl3)))) +(define-public python-zodipy + (package + (name "python-zodipy") + (version "1.0.0") + (source + (origin + (method git-fetch) ;; no tests in the PyPI tarball + (uri (git-reference + (url "https://github.com/Cosmoglobe/zodipy") + (commit (string-append "v." version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08hwicpv3wfpccr2cj1vxb8iy7av12yjs3prq0zw7qc89imrgrbn")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + ;; numpy = "^1.26.4" + (("1.26.4") "1.23.2") + ;; scipy = "^1.13.0" + (("1.13.0") "1.12.0"))))))) + (propagated-inputs + (list python-astropy + python-jplephem + python-numpy + python-scipy)) + (native-inputs + (list python-poetry-core + python-pytest)) + (home-page "https://github.com/Cosmoglobe/zodipy") + (synopsis "Zodiacal emission simulations") + (description + "ZodiPy is an package for simulating zodiacal light in intensity for +arbitrary solar system observers.") + (license license:gpl3+))) + (define-public qfits (package (name "qfits") |