From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRCuc-0001Qd-2V for guix-patches@gnu.org; Tue, 19 Dec 2017 03:06:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRCuZ-00061M-CW for guix-patches@gnu.org; Tue, 19 Dec 2017 03:06:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRCuZ-000613-8Q for guix-patches@gnu.org; Tue, 19 Dec 2017 03:06:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRCuX-0007m1-I8 for guix-patches@gnu.org; Tue, 19 Dec 2017 03:06:02 -0500 Subject: [bug#29768] [PATCH 1/5] gnu: Add python-txamqp. References: <20171218224425.31157-1-rekado@elephly.net> In-Reply-To: <20171218224425.31157-1-rekado@elephly.net> Resent-Message-ID: From: Ricardo Wurmus Date: Tue, 19 Dec 2017 09:04:29 +0100 Message-Id: <20171219080433.10392-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29768@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/python.scm (python-txamqp, python2-txamqp): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4baef4391..c72e35588 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7474,6 +7474,35 @@ alternative when librabbitmq is not available.") #:tests? #f ,@(package-arguments amqp)))))) +(define-public python-txamqp + (package + (name "python-txamqp") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "txAMQP" version)) + (sha256 + (base32 + "1r43a66dd547mz40ikymm8y3d480cidy560fj81qc0jk4lncgmmr")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six) + ("python-twisted" ,python-twisted))) + (home-page "https://github.com/txamqp/txamqp") + (synopsis "Communicate with AMQP peers and brokers using Twisted") + (description + "This package provides a Python library for communicating with AMQP peers +and brokers using the asynchronous networking framework Twisted. It contains +all the necessary code to connect, send and receive messages to/from an +AMQP-compliant peer or broker (Qpid, OpenAMQ, RabbitMQ) using Twisted. It +also includes support for using Thrift RPC over AMQP in Twisted +applications.") + (license license:asl2.0))) + +(define-public python2-txamqp + (package-with-python2 python-txamqp)) + (define-public python-kombu (package (name "python-kombu") -- 2.15.0