diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-12-15 14:40:16 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-12-15 14:43:02 +0100 |
commit | ddea65d8f540bf3cba660e75ed0ce4f98e6e13a2 (patch) | |
tree | e831d851255246f077d64dcf0b4f30efd8ccf337 /gnu | |
parent | a7fca9d65a3feb0138efda72bd16db25d5cab264 (diff) | |
download | guix-ddea65d8f540bf3cba660e75ed0ce4f98e6e13a2.tar.gz |
gnu: Add python-isal.
* gnu/packages/python-compression.scm (python-isal): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-compression.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 641cd595a0..afb2caf13b 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2017, 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2017 Nikita <nikita@n0.is> ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> @@ -94,6 +94,35 @@ were a single file.") Jump conversion filter by CFFI for Python.") (license license:lgpl2.1+))) +(define-public python-isal + (package + (name "python-isal") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "isal" version)) + (sha256 + (base32 "1bxj7r24p974pqfgym485s90ydhzji9q7zyfg3sf8fycm9ya01wd")) + ;; Remove bundles isa-l source code + (modules '((guix build utils))) + (snippet + '(delete-file-recursively "src/isal/isa-l")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-dynamic-linking + (lambda _ (setenv "PYTHON_ISAL_LINK_DYNAMIC" "1")))))) + (inputs (list isa-l)) + (native-inputs (list python-cython)) + (home-page "https://github.com/pycompression/python-isal") + (synopsis "Python bindings for the ISA-L compression library") + (description + "This package aims to provide faster zlib and gzip compatible compression +and decompression by implementing Python bindings for the ISA-L library.") + (license license:expat))) + (define-public python-ppmd-cffi (package (name "python-ppmd-cffi") |