diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2022-01-14 23:40:21 +0000 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2022-01-30 11:46:17 -0300 |
commit | 89a5c53f382eec3dc4e2b60d819b39ada003df44 (patch) | |
tree | 01410c8d9b777945baf381ba498aab4afbb3de38 /gnu | |
parent | e1437e7ec1aaba0c70678047c336724cbcc658e0 (diff) |
gnu: Add python-asdf-transform-schemas.
* gnu/packages/astronomy.scm (python-asdf-transform-schemas): New variable.
Signed-off-by: Vinicius Monego <monego@posteo.net>
Diffstat (limited to 'gnu')
-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 50fe07f9bb..b19282b37c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1490,6 +1490,39 @@ interchange format for scientific data. This package contains the Python implementation of the ASDF Standard.") (license license:bsd-3))) +(define python-asdf-transform-schemas + (package + (name "python-asdf-transform-schemas") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asdf_transform_schemas" version)) + (sha256 + (base32 "1gmzd81hw4ppsvzrc91wcbjpcw9hhv9gavllv7nyi7qjb54c837g")))) + (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-semantic-version + python-setuptools-scm)) + (propagated-inputs + (list python-asdf)) + (home-page "https://github.com/asdf-format/asdf-transform-schemas") + (synopsis "ASDF schemas for transforms") + (description + "This package provides ASDF schemas for validating transform tags. Users +should not need to install this directly; instead, install an implementation +package such as asdf-astropy.") + (license license:bsd-3))) + (define-public python-astroalign (package (name "python-astroalign") |