From e297edbfe5b1d711677a93bcab80e47748c66cde Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jul 2020 10:49:31 +0300 Subject: gnu: Add python-brotli. * gnu/packages/python-compression.scm (python-brotli): New variable. --- gnu/packages/python-compression.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index f853bdc1ec..730b247414 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2017, 2019 Ricardo Wurmus ;;; Copyright © 2017 Nikita ;;; Copyright © 2017 Julien Lepiller -;;; Copyright © 2018, 2019 Efraim Flashner +;;; Copyright © 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Marius Bakke ;;; @@ -133,6 +133,26 @@ the LZ4 frame format.") (define-public python2-lzstring (package-with-python2 python-lzstring)) +(define-public python-brotli + (package + (name "python-brotli") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Brotli" version ".zip")) + (sha256 + (base32 + "19x5dqxckb62n37mpnczp21rfxqvgpm0ki5ds8ac65zx8hbxqf05")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (home-page "https://github.com/google/brotli") + (synopsis "Python bindings for the Brotli compression library") + (description + "This package provides python bindings for the Brotli compression library.") + (license license:asl2.0))) + (define-public bitshuffle (package (name "bitshuffle") -- cgit 1.4.1