lfam pushed a commit to branch master
in repository guix.
commit dde1c7655d697a12ef18792ae732f51cdd9de32a
Author: Brendan Tildesley <[email protected]>
AuthorDate: Wed Mar 10 18:32:25 2021 +1100
gnu: Add python-pyzstd
* gnu/packages/python-compression.scm (python-pyzstd): New variable.
---
gnu/packages/python-compression.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/python-compression.scm
b/gnu/packages/python-compression.scm
index f87eacc..ab2eca2 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -363,3 +363,21 @@ wrapper. It provides a backport of the @code{Path}
object.")
the Zstandard compression library. A C extension and CFFI interface are
provided.")
(license license:bsd-3)))
+
+(define-public python-pyzstd
+ (package
+ (name "python-pyzstd")
+ (version "0.14.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyzstd" version))
+ (sha256
+ (base32
+ "1d3mngs45w2p490vrq5ymd2wz4lp15phmks1ilcx4k7amgibml3d"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/animalize/pyzstd")
+ (synopsis "Zstandard bindings for Python")
+ (description "This package provides Python bindings to the Zstandard (zstd)
+compression library. The API is similar to Python's bz2/lzma/zlib module.")
+ (license license:bsd-3)))