Message ID | 1465307853-12065-2-git-send-email-iyzsong@gmail.com |
---|---|
State | New |
Headers | show |
宋文武 <iyzsong@gmail.com> skribis: > * gnu/packages/python.scm (python-kazoo, python2-kazoo): New variables. [...] > + (home-page "https://kazoo.readthedocs.org") > + (synopsis "Higher Level Zookeeper Client") Maybe “High-level Zookeeper client library”? > + (description > + "Kazoo is a Python library designed to make working with Zookeeper a more > +hassle-free experience that is less prone to errors.") What about: “Kazoo is a Python client library for the Apache Zookeeper distributed application service. It is designed to be easy to use and to avoid common programming errors.”? OK with changes along these lines! Ludo’.
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))