diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2022-01-14 23:40:24 +0000 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2022-01-30 11:46:19 -0300 |
commit | 007495210d41bcb8dc3ddcf8e04f2d85c75ba990 (patch) | |
tree | b753a7aac856adc26046fc16d59be523286a20e2 /gnu/packages/astronomy.scm | |
parent | 7b2747c81d52dd4727cc642df2ebbce485c7e204 (diff) | |
download | guix-007495210d41bcb8dc3ddcf8e04f2d85c75ba990.tar.gz |
gnu: Add python-asdf-wcs-schemas.
* gnu/packages/astronomy.scm (python-asdf-wcs-schemas): New variable. Signed-off-by: Vinicius Monego <monego@posteo.net>
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r-- | gnu/packages/astronomy.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ace926051a..95f65b4041 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1597,6 +1597,39 @@ install an implementation package such as asdf-astropy.") Astropy objects.") (license license:bsd-3))) +(define python-asdf-wcs-schemas + (package + (name "python-asdf-wcs-schemas") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asdf_wcs_schemas" version)) + (sha256 + (base32 "0khyab9mnf2lv755as8kwhk3lqqpd3f4291ny3b9yp3ik86fzhz1")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (native-inputs + (list python-pytest + python-setuptools-scm + python-semantic-version)) + (propagated-inputs + (list python-asdf)) + (home-page "https://github.com/asdf-format/asdf-wcs-schemas") + (synopsis "ASDF WCS Schemas") + (description + "This package provides ASDF schemas for validating World Coordinate +System (WCS) tags. Users should not need to install this directly; instead, +install an implementation package such as gwcs.") + (license license:bsd-3))) + (define-public python-astroalign (package (name "python-astroalign") |