summary refs log tree commit diff
path: root/gnu/packages/python-compression.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-01-03 00:11:48 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-01-03 00:11:48 +0100
commitf4a20dca357987021e692e4b4718e8ddf8d649db (patch)
tree6a842801ef84fff60a5d9668c6cfe91a5dfb9ed8 /gnu/packages/python-compression.scm
parent170441660968b1b294154307903613302cbb18db (diff)
downloadguix-f4a20dca357987021e692e4b4718e8ddf8d649db.tar.gz
gnu: Add python-zstandard.
* gnu/packages/python-compression.scm (python-zstandard): New variable.
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r--gnu/packages/python-compression.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 705a7ffa3b..c7354bacc1 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -234,3 +234,23 @@ install: libbitshuffle.so
      "This package provides a @code{pathlib}-compatible @code{Zipfile} object
 wrapper.  It provides a backport of the @code{Path} object.")
     (license license:expat)))
+
+(define-public python-zstandard
+  (package
+  (name "python-zstandard")
+  (version "0.13.0")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "zstandard" version))
+      (sha256
+        (base32 "0q9msi00s93iqm8vzd839r7yc51gz54z90h5bckqyjdxa6vxijz5"))))
+  (build-system python-build-system)
+  (native-inputs
+   `(("python-hypothesis" ,python-hypothesis)))
+  (home-page "https://github.com/indygreg/python-zstandard")
+  (synopsis "Zstandard bindings for Python")
+  (description "This project provides Python bindings for interfacing
+with the Zstandard compression library. A C extension and CFFI
+interface are provided.")
+  (license license:bsd-3)))