mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 22:36:22 +01:00
gnu: Add python-stsci-image.
* gnu/packages/astronomy.scm (python-stsci-image): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
8c1171da28
commit
04cf30e153
1 changed files with 28 additions and 0 deletions
|
@ -2045,6 +2045,34 @@ spherical polygons that represent arbitrary regions of the sky.")
|
||||||
;; QD_LIBRARY_LICENSE.rst for bandeled QD source
|
;; QD_LIBRARY_LICENSE.rst for bandeled QD source
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public python-stsci-image
|
||||||
|
(package
|
||||||
|
(name "python-stsci-image")
|
||||||
|
(version "2.3.5")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "stsci.image" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1vnp4256nbdvapa69cmm80sjz11ygxa49abr9nbvssj6nyyp5icb"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:phases #~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'build-extensions
|
||||||
|
(lambda _
|
||||||
|
;; Cython extensions have to be built before running
|
||||||
|
;; the tests.
|
||||||
|
(invoke "python" "setup.py" "build_ext"
|
||||||
|
"--inplace"))))))
|
||||||
|
(propagated-inputs (list python-numpy python-scipy))
|
||||||
|
(native-inputs (list python-pytest python-setuptools-scm))
|
||||||
|
(home-page "https://github.com/spacetelescope/stsci.image")
|
||||||
|
(synopsis "Image array manipulation functions")
|
||||||
|
(description
|
||||||
|
"This package provides Python modules of @acronym{STScI, Space Telescope
|
||||||
|
Science Institute} image array manipulation functions.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public libnova
|
(define-public libnova
|
||||||
(package
|
(package
|
||||||
(name "libnova")
|
(name "libnova")
|
||||||
|
|
Loading…
Add table
Reference in a new issue