summary refs log tree commit diff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorng0 <ng0@libertad.pw>2016-12-21 11:47:18 +0000
committerLeo Famulari <leo@famulari.name>2016-12-28 22:41:53 -0500
commitd5bbf806f3bbf9660b89e88bef27b52f757d11c0 (patch)
tree3d5bf0f501c10a4730af7ca0cd261493f9a68f2d /gnu/packages/python.scm
parent789de5e279ba077340a4e28a772be2f4a3c92457 (diff)
downloadguix-d5bbf806f3bbf9660b89e88bef27b52f757d11c0.tar.gz
gnu: Add python-trollius-redis.
* gnu/packages/python.scm (python-trollius-redis, python2-trollius-redis): New
variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 980c2390bd..a0542a5484 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8105,6 +8105,28 @@ 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 an asynchronious IO (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