diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-21 10:49:31 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-21 10:49:31 +0300 |
| commit | e297edbfe5b1d711677a93bcab80e47748c66cde (patch) | |
| tree | e52d8d136565678c324464f8792f7e5c73bafdd7 /gnu/packages/python-compression.scm | |
| parent | 0449f4ebabe54085d75614088e9a9170e464bd9f (diff) | |
gnu: Add python-brotli.
* gnu/packages/python-compression.scm (python-brotli): New variable.
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index f853bdc1ecd..730b2474147 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net> | 3 | ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net> |
| 4 | ;;; Copyright © 2017 Nikita <nikita@n0.is> | 4 | ;;; Copyright © 2017 Nikita <nikita@n0.is> |
| 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
| 6 | ;;; Copyright © 2018, 2019 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> |
| 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> | 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 8 | ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> | 8 | ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> |
| 9 | ;;; | 9 | ;;; |
| @@ -133,6 +133,26 @@ the LZ4 frame format.") | |||
| 133 | (define-public python2-lzstring | 133 | (define-public python2-lzstring |
| 134 | (package-with-python2 python-lzstring)) | 134 | (package-with-python2 python-lzstring)) |
| 135 | 135 | ||
| 136 | (define-public python-brotli | ||
| 137 | (package | ||
| 138 | (name "python-brotli") | ||
| 139 | (version "1.0.7") | ||
| 140 | (source | ||
| 141 | (origin | ||
| 142 | (method url-fetch) | ||
| 143 | (uri (pypi-uri "Brotli" version ".zip")) | ||
| 144 | (sha256 | ||
| 145 | (base32 | ||
| 146 | "19x5dqxckb62n37mpnczp21rfxqvgpm0ki5ds8ac65zx8hbxqf05")))) | ||
| 147 | (build-system python-build-system) | ||
| 148 | (native-inputs | ||
| 149 | `(("unzip" ,unzip))) | ||
| 150 | (home-page "https://github.com/google/brotli") | ||
| 151 | (synopsis "Python bindings for the Brotli compression library") | ||
| 152 | (description | ||
| 153 | "This package provides python bindings for the Brotli compression library.") | ||
| 154 | (license license:asl2.0))) | ||
| 155 | |||
| 136 | (define-public bitshuffle | 156 | (define-public bitshuffle |
| 137 | (package | 157 | (package |
| 138 | (name "bitshuffle") | 158 | (name "bitshuffle") |
