diff options
author | Brendan Tildesley <mail@brendan.scot> | 2021-02-25 13:49:40 +1100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-04-09 16:09:25 -0400 |
commit | 8cc985a00bdefd6dcff697cfcf7253b6e4c90a61 (patch) | |
tree | 921222c2508d79dcd3a8b3a9026b6474fc6a0fb1 /gnu/packages/python-compression.scm | |
parent | f9d8d438b33fd751338317903e88fe932c73d6a9 (diff) | |
download | guix-8cc985a00bdefd6dcff697cfcf7253b6e4c90a61.tar.gz |
gnu: Add python-ppmd-cffi.
* gnu/packages/python-compression.scm (python-ppmd-cffi): New variable.
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r-- | gnu/packages/python-compression.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 298fc382e7..884f55e213 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -31,6 +31,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages libffi) #:use-module (gnu packages compression) #:use-module (gnu packages check) #:use-module (gnu packages maths) @@ -68,6 +69,34 @@ file-object abstraction, making it possible to use multiple files as if they were a single file.") (license license:lgpl2.1+))) +(define-public python-ppmd-cffi + (package + (name "python-ppmd-cffi") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ppmd-cffi" version)) + (sha256 + (base32 + "01wcd9l6pp6hivdmd275qh9dhcwficjqfl67hxix5n07vvq7jzz0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cffi" ,python-cffi))) + (native-inputs + `(("python-setuptools" ,python-setuptools) + ("python-setuptools-scm" ,python-setuptools-scm/next) + ("python-pep517" ,python-pep517) + ("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/miurahr/ppmd") + (synopsis "Prediction by Partial Matching compression library") + (description "PPMd is a compression algorithm library using the Prediction +by Partial Matching statistical technique. It is used in RAR and 7-Zip as one of +several possible methods.") + (license license:lgpl2.1+))) + (define-public python-lzo (package (name "python-lzo") |