diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-09-18 14:39:12 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-09-30 22:06:31 +0100 |
commit | 8fa50344145faae5784f8227477ef2a401692aab (patch) | |
tree | a3a2726125f686b30dadd5d8c0e54a0f1e656a4e /gnu | |
parent | a8f1f11d5b969f7731ba88a2c0e9ff00bb8646b4 (diff) | |
download | guix-8fa50344145faae5784f8227477ef2a401692aab.tar guix-8fa50344145faae5784f8227477ef2a401692aab.tar.gz |
gnu: Add python-sep-pjw.
* gnu/packages/astronomy.scm (python-sep-pjw): New variable.
Change-Id: Ib0ae64a938de53ead32277606f9fc150fae76bd5
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/astronomy.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6e2be8cc22..7a9efe5aaa 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5269,6 +5269,38 @@ well as ephemerides services (list python-numpy)) (synopsis "Python library for Source Extraction and Photometry"))) +(define-public python-sep-pjw + (package + (name "python-sep-pjw") + (version "1.3.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sep_pjw" version)) + (sha256 + (base32 "15jf16zycs1gz6jfkhmj7b8wdcpp8d5ikz15pmfkwq32a8mfdv8m")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags #~(list "test.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + ;; numpy>=1.23.5 + (("1.23.5") "1.23.2"))))))) + (native-inputs + (list python-cython + python-pytest)) + (propagated-inputs + (list python-numpy)) + (home-page "https://github.com/PJ-Watson/sep-pjw") + (synopsis "Alternative fork of SEP library") + (description + "This package provides an alternative maintained fork of SEP python +libary with bug fixtures.") + (license (list license:expat license:lgpl3+ license:bsd-3)))) + (define-public python-suntime (package (name "python-suntime") |