~ruther/guix-local

1c4c8a33d7a6ab166559ea281b7f96c2e04bebc7 — 宋文武 9 years ago d951bd5
gnu: Add python-kazoo and python2-kazoo.

* gnu/packages/python.scm (python-kazoo, python2-kazoo): New variables.
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +27 -0
@@ 9069,3 9069,30 @@ 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 "High-level Zookeeper client library")
    (description
     "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.")
    (license asl2.0)))

(define-public python2-kazoo
  (package-with-python2 python-kazoo))