From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Cc: 宋文武 <iyzsong@gmail.com>
Subject: [PATCH 4/4] gnu: Add python-pykafka and python2-pykafka.
Date: Tue, 7 Jun 2016 21:57:33 +0800 [thread overview]
Message-ID: <1465307853-12065-3-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1465307853-12065-1-git-send-email-iyzsong@gmail.com>
* gnu/packages/python.scm (python-pykafka, python2-pykafka): New variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ca97b4e..5a2347e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9067,3 +9067,33 @@ hassle-free experience that is less prone to errors.")
(define-public python2-kazoo
(package-with-python2 python-kazoo))
+
+(define-public python-pykafka
+ (package
+ (name "python-pykafka")
+ (version "2.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pykafka" version))
+ (sha256
+ (base32
+ "1id6sr159p6aa13bxcqyr9gln8sqg1l0ddzns5iws8kk5q1p5cfv"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; XXX: needs zookeeper, kafka, etc.
+ (native-inputs
+ `(("python-gevent" ,python-gevent)
+ ("python-kazoo" ,python-kazoo)
+ ("python-setuptools" ,python-setuptools)
+ ("python-tabulate" ,python-tabulate)))
+ (inputs
+ `(("librdkafka" ,librdkafka)))
+ (home-page "https://pykafka.readthedocs.io/")
+ (synopsis "Apache Kafka client for Python")
+ (description
+ "PyKafka is an Apache Kafka client for Python. It includes Python
+implementations of Kafka producers and consumers, which are optionally backed
+by a C extension built on librdkafka.")
+ (license asl2.0)))
+
+(define-public python2-pykafka
+ (package-with-python2 python-pykafka))
--
2.6.3
next prev parent reply other threads:[~2016-06-07 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 13:57 [PATCH 2/4] gnu: Add python-tabulate and python2-tabulate 宋文武
2016-06-07 13:57 ` [PATCH 3/4] gnu: Add python-kazoo and python2-kazoo 宋文武
2016-06-10 12:35 ` Ludovic Courtès
2016-06-07 13:57 ` 宋文武 [this message]
2016-06-10 12:38 ` [PATCH 4/4] gnu: Add python-pykafka and python2-pykafka Ludovic Courtès
2016-06-10 12:31 ` [PATCH 2/4] gnu: Add python-tabulate and python2-tabulate Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465307853-12065-3-git-send-email-iyzsong@gmail.com \
--to=iyzsong@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.