aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-23 13:05:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-23 13:57:47 +0100
commitd2a7bd50a9c29bc48aa6aea8c61927fe4c3d1149 (patch)
treef40bab1ac6c94ae9e10b13c198e1446d6007c45e
parent0d9b69795dc1c7ccb80ed99079028519f73b1fa3 (diff)
downloadguix-d2a7bd50a9c29bc48aa6aea8c61927fe4c3d1149.tar.gz
guix-d2a7bd50a9c29bc48aa6aea8c61927fe4c3d1149.zip
gnu: Add python-pyppmd.
* gnu/packages/python-compression.scm (python-pyppmd): New variable.
-rw-r--r--gnu/packages/python-compression.scm30
1 files changed, 29 insertions, 1 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index d6578cd932..4e26158b6d 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, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019, 2021, 2022 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>
@@ -31,6 +31,7 @@
#:use-module (guix gexp)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages libffi)
#:use-module (gnu packages compression)
@@ -124,6 +125,33 @@ Jump conversion filter by CFFI for Python.")
and decompression by implementing Python bindings for the ISA-L library.")
(license license:expat)))
+(define-public python-pyppmd
+ (package
+ (name "python-pyppmd")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyppmd" version))
+ (sha256
+ (base32
+ "03w4x26mar0ha73c3v39psn1i0k6xrzwmaxfsxysic73jz99np07"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-coverage
+ python-hypothesis
+ python-pytest
+ python-pytest-benchmark
+ python-pytest-cov
+ python-pytest-timeout
+ python-setuptools-scm))
+ (home-page "https://github.com/miurahr/pyppmd")
+ (synopsis "PPMd compression/decompression library")
+ (description "Pyppmd provides classes and functions for compressing and
+decompressing text data, using the @dfn{Prediction by partial matching} (PPM)
+compression algorithm variation H and I.2. It provides an API similar to
+Python's zlib/bz2/lzma modules.")
+ (license license:lgpl2.1+)))
+
(define-public python-ppmd-cffi
(package
(name "python-ppmd-cffi")