gnu: Add asdf-unit-schemas.

* gnu/packages/astronomy.scm (python-asdf-unit-schemas): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Sharlatan Hellseher 2022-11-07 23:06:49 +00:00 committed by Christopher Baines
parent 1b03c64a05
commit f99a1e257d
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -2094,6 +2094,28 @@ (define python-asdf-coordinates-schemas
install an implementation package such as asdf-astropy.")
(license license:bsd-3)))
(define python-asdf-unit-schemas
(package
(name "python-asdf-unit-schemas")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_unit_schemas" version))
(sha256
(base32
"16grpx3a9h0v1wirp0zqrfsxm867v5c0xyr98pylzziy45kqvds2"))))
(build-system pyproject-build-system)
(arguments
;; Dependency cycle with python-asdf
(list #:tests? #f))
(native-inputs (list python-setuptools-scm))
(propagated-inputs (list python-asdf-standard python-importlib-resources))
(home-page "https://asdf-unit-schemas.readthedocs.io/")
(synopsis "ASDF serialization schemas for the units defined by @code{astropy.units}")
(description "This package provides ASDF schemas for validating unit tags.")
(license license:bsd-3)))
(define-public python-asdf-astropy
(package
(name "python-asdf-astropy")