diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-10 11:10:56 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-29 15:08:11 +0000 |
commit | 6933d9ef0a2d0d248c42940973417b23d8af13e3 (patch) | |
tree | 474594d1d27ec26be293ed0f2c13f3b6a48d95cb | |
parent | 7d817bb380e842aa81cf24575c620ab4592cc74e (diff) | |
download | guix-6933d9ef0a2d0d248c42940973417b23d8af13e3.tar.gz guix-6933d9ef0a2d0d248c42940973417b23d8af13e3.zip |
gnu: Add python-asdf-compression.
* gnu/packages/astronomy.scm (python-asdf-compression): New variable.
Change-Id: I221990d2f25f31dd5272a3ccc4c603da8dac353b
-rw-r--r-- | gnu/packages/astronomy.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 2a4ef61159..7849624540 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4322,6 +4322,50 @@ interchange format for scientific data. This package contains the Python implementation of the ASDF Standard.") (license license:bsd-3))) +(define-public python-asdf-compression + ;; TODO: No release, change to tag when it's ready. + (let ((commit "57cc7e76fb4163be3e99fb740b36b5ec5ae96e49") + (revision "0")) + (package + (name "python-asdf-compression") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/asdf-format/asdf-compression") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g6iiyls950k66dmd0pbqqdvz74kksc4j191n0ik6fhjnkiwifgs")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1")))))) + (native-inputs + (list python-numpy + python-pytest + python-semantic-version + python-setuptools-scm)) + (propagated-inputs + (list python-asdf + python-blosc + python-lz4 + python-zstandard)) + (home-page "https://github.com/asdf-format/asdf-fits-schemas") + (synopsis "ASDF extension to support various compression algorithms") + (description + "This package includes a plugin for the Python library ASDF to add +support for reading and writing various compression algorithms including: +@url{https://www.blosc.org/python-blosc/reference.html,Blosc}, +@url{https://python-lz4.readthedocs.io/en/stable/lz4.frame.html,LZ4 Frame}, +@url{http://facebook.github.io/zstd/,Zstandard}.") + (license license:bsd-3)))) + (define-public python-asdf-standard (package (name "python-asdf-standard") |