gnu: Add asdf (Advanced Scientific Data Format)

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Sharlatan Hellseher 2021-02-19 22:41:42 +00:00 committed by Nicolas Goaziou
parent 5afcd25464
commit f498823e78
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -948,6 +948,38 @@ (define-public python-sep
license:expat
license:lgpl3+))))
(define-public python-asdf
(package
(name "python-asdf")
(version "2.7.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf" version))
(sha256
(base32 "1y47zhkd90i8wmm2i35amfl0rvjqlb3fcx90xp7n9kr2z0byzyzg"))))
(build-system python-build-system)
(arguments
;; TODO: (Sharlatan-20210207T165820+0000): Tests depend on astropy, astropy
;; depends on asdf. Disable circular dependence.
`(#:tests? #f))
(native-inputs
`(("packaging" ,python-packaging)
("semantic-version" ,python-semantic-version)
("setuptools-scm" ,python-setuptools-scm)))
(inputs
`(("importlib-resources" ,python-importlib-resources)
("jsonschema" ,python-jsonschema)
("numpy" ,python-numpy)
("pyyaml" ,python-pyyaml)))
(home-page "http://github.com/asdf-format/asdf")
(synopsis "Python tools to handle ASDF files")
(description
"The Advanced Scientific Data Format (ASDF) is a next-generation
interchange format for scientific data. This package contains the Python
implementation of the ASDF Standard.")
(license license:bsd-3)))
(define-public python-astroalign
(package
(name "python-astroalign")