[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/4] gnu: Add python-kazoo and python2-kazoo.
From: |
宋文武 |
Subject: |
[PATCH 3/4] gnu: Add python-kazoo and python2-kazoo. |
Date: |
Tue, 7 Jun 2016 21:57:32 +0800 |
* gnu/packages/python.scm (python-kazoo, python2-kazoo): New variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1a83933..ca97b4e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9041,3 +9041,29 @@ data in Python.")
(define-public python2-tabulate
(package-with-python2 python-tabulate))
+
+(define-public python-kazoo
+ (package
+ (name "python-kazoo")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "kazoo" version))
+ (sha256
+ (base32
+ "10pb864if9qi2pq9lfb9m8f7z7ss6rml80gf1d9h64lap5crjnjj"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; XXX: needs zookeeper
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-six" ,python-six)))
+ (home-page "https://kazoo.readthedocs.org")
+ (synopsis "Higher Level Zookeeper Client")
+ (description
+ "Kazoo is a Python library designed to make working with Zookeeper a more
+hassle-free experience that is less prone to errors.")
+ (license asl2.0)))
+
+(define-public python2-kazoo
+ (package-with-python2 python-kazoo))
--
2.6.3