summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Tildesley <mail@brendan.scot>2021-03-10 18:30:54 +1100
committerLeo Famulari <leo@famulari.name>2021-04-09 16:09:25 -0400
commiteacfed8b0806e857396e6095825cceedb7c3d5ba (patch)
treef1a4c43f71fdb0496a6dc4920c89ac454954d57b
parentdde1c7655d697a12ef18792ae732f51cdd9de32a (diff)
gnu: Add python-bcj-cffi.
* gnu/packages/python-compression.scm (python-bcj-cffi): New variable.
-rw-r--r--gnu/packages/python-compression.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index ab2eca2743..bed965f48e 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -37,6 +37,7 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx))
@@ -69,6 +70,33 @@ file-object abstraction, making it possible to use multiple files as if they
were a single file.")
(license license:lgpl2.1+)))
+(define-public python-bcj-cffi
+ (package
+ (name "python-bcj-cffi")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "bcj-cffi" version))
+ (sha256
+ (base32
+ "1jcczrb8zgg6w7v76w1wpz3nw75fghk3xwxkn09ll7kck7sdf68d"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-cffi" ,python-cffi)
+ ("python-toml" ,python-toml)
+ ("python-setuptools-scm" ,python-setuptools-scm/next)))
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-coverage" ,python-coverage)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://github.com/miurahr/bcj-cffi")
+ (synopsis "Branch / Call /Jump CFFI library in Python")
+ (description "This package provides an implementation of the Branch / Call /
+Jump conversion filter by CFFI for Python.")
+ (license license:lgpl2.1+)))
+
(define-public python-ppmd-cffi
(package
(name "python-ppmd-cffi")