Subject: bug#25733: [PATCH 17/18] gnu: Add python2-kombu-1.

From: [email-masked]
Date: Tue, 14 Feb 2017 20:16:02 +0000

From: ng0 <[email-masked]>

* gnu/packages/python.scm (python2-kombu-1): New variable.
---
 gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ddb7edbf3..a4e3ff700 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9646,6 +9646,42 @@ RabbitMQ messaging server is the most popular implementation.")
       (native-inputs `(("python2-unittest2" ,python2-unittest2)
                 ,@(package-native-inputs kombu))))))
 
+;; This is required for pyparsing-1.5.0, which is required by
+;; celery-2.2.5 which is required by kallithea-0.3.2.
+(define-public python2-kombu-1
+  (package
+    (name "python2-kombu-1")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "kombu" version))
+       (sha256
+        (base32
+         "0vvfmjq4r55zslrfpamkg557qb6n291krzk39xzw12fxwbd6llmf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (inputs
+     `(("python2-amqplib" ,python2-amqplib)
+       ("python2-unittest2" ,python2-unittest2)))
+    (propagated-inputs
+     `(("python2-anyjson" ,python2-anyjson)
+       ("python2-amqp" ,python2-amqp)))
+    (native-inputs
+     `(("python2-mock" ,python2-mock)
+       ("python2-nose" ,python2-nose)))
+    (home-page "http://kombu.readthedocs.org")
+    (synopsis "Message passing library for Python")
+    (description
+     "The aim of Kombu is to make messaging in Python as easy as
+possible by providing an idiomatic high-level interface for the AMQ protocol,
+and also provide proven and tested solutions to common messaging problems.
+AMQP is the Advanced Message Queuing Protocol, an open standard protocol for
+message orientation, queuing, routing, reliability and security, for which the
+RabbitMQ messaging server is the most popular implementation.")
+    (license license:bsd-3)))
+
 (define-public python-billiard
   (package
     (name "python-billiard")
-- 
2.11.1