From 007495210d41bcb8dc3ddcf8e04f2d85c75ba990 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 14 Jan 2022 23:40:24 +0000 Subject: gnu: Add python-asdf-wcs-schemas. * gnu/packages/astronomy.scm (python-asdf-wcs-schemas): New variable. Signed-off-by: Vinicius Monego --- gnu/packages/astronomy.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu') 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 @@ (define-public python-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") -- cgit v1.2.3