guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27440] [PATCH 2/4] gnu: python: Add python-rencode.


From: Rutger Helling
Subject: [bug#27440] [PATCH 2/4] gnu: python: Add python-rencode.
Date: Wed, 21 Jun 2017 13:05:36 +0200

* gnu/packages/python.scm (python-rencode): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 95723c9de..9c1485854 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15446,3 +15446,26 @@ window memory map manager.")
and related APIs. The binding is created using the standard ctypes library.")
    (license license:bsd-3)))
+
+(define-public python-rencode
+  (package
+   (name "python-rencode")
+   (version "1.0.3")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "rencode" version))
+     (sha256
+      (base32
+       "08if5yax1xn5yfp8p3765ccjmfcv9di7i4m5jckgnwvdsgznwkbj"))))
+   (build-system python-build-system)
+   (native-inputs `(("pkg-config" ,pkg-config)
+                   ("python-cython", python-cython)))
+   (home-page "https://github.com/aresch/rencode";)
+ (synopsis "For complex, heterogeneous data structures with many small elements")
+   (description
+ "The rencode module is similar to bencode from the BitTorrent project. +For complex, heterogeneous data structures with many small elements, r-encoding +stake up significantly less space than b-encodings. This version of rencode is a +complete rewrite in Cython to attempt to increase the performance over the pure
+Python module written by Petru Paler, Connelly Barnes et al.")
+   (license license:bsd-3)))
--
2.13.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]