aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-01-14 23:40:21 +0000
committerVinicius Monego <monego@posteo.net>2022-01-30 11:46:17 -0300
commit89a5c53f382eec3dc4e2b60d819b39ada003df44 (patch)
tree01410c8d9b777945baf381ba498aab4afbb3de38
parente1437e7ec1aaba0c70678047c336724cbcc658e0 (diff)
downloadguix-89a5c53f382eec3dc4e2b60d819b39ada003df44.tar
guix-89a5c53f382eec3dc4e2b60d819b39ada003df44.tar.gz
gnu: Add python-asdf-transform-schemas.
* gnu/packages/astronomy.scm (python-asdf-transform-schemas): New variable. Signed-off-by: Vinicius Monego <monego@posteo.net>
-rw-r--r--gnu/packages/astronomy.scm33
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")