Patchwork [10/11] gnu: Add python-trollius-redis.

login
register
mail settings
Submitter ng0
Date Dec. 11, 2016, 6:12 p.m.
Message ID <20161211181237.24485-11-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18371/
State New
Headers show

Comments

ng0 - Dec. 11, 2016, 6:12 p.m.
* gnu/packages/python.scm (python-trollius-redis): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 45451af74..11800b359 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8004,6 +8004,29 @@  minimal and fast API targetting the following uses:
 (define-public python2-execnet
   (package-with-python2 python-execnet))
 
+(define-public python-trollius-redis
+(package
+  (name "python-trollius-redis")
+  (version "0.1.4")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "trollius_redis" version))
+      (sha256
+       (base32
+        "0k3vypszmgmaipgw9xscvgm79h2zd6p6ci8gdp5sxl6g5kbqr9fy"))))
+  (build-system python-build-system)
+  (home-page "https://github.com/benjolitz/trollius-redis")
+  (synopsis "Port of asyncio-redis to trollius")
+  (description
+   "@code{trollius-redis} is a Redis client for Python
+trollius.  It is a PEP 3156 implementation of the redis
+protocol.")
+  (license license:bsd-2)))
+
+(define-public python2-trollius-redis
+  (package-with-python2 python-trollius-redis))
+
 ;;; The software provided by this package was integrated into pytest 2.8.
 (define-public python-pytest-cache
   (package