From 951c7093a1b7907eea891f0454da53262375037d Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 17 Feb 2019 14:59:59 -0500 Subject: gnu: Add python-autobahn. * gnu/packages/python-web.scm (python-autobahn): New variable. --- gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ec7f43945e..839f48ce4f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -56,6 +56,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages django) + #:use-module (gnu packages libffi) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) @@ -2999,3 +3000,32 @@ correct URLs for Python according to RFCs 3986 and 3987.") @code{requests}} but written on top of Twisted's @code{Agents}. It offers a high level API for making HTTP requests when using Twisted.") (license license:expat))) + +(define-public python-autobahn + (package + (name "python-autobahn") + (version "19.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "autobahn" version)) + (sha256 + (base32 + "1mm7j24ls01c7jb1ad5p5cpyxvzgydiyf8b04ihykh2v8g98j0x7")))) + (build-system python-build-system) + (arguments + ;; The tests fail to run: + ;; https://github.com/crossbario/autobahn-python/issues/1117 + `(#:tests? #f)) + (propagated-inputs + `(("python-cffi" ,python-cffi) + ("python-twisted" ,python-twisted) + ("python-txaio" ,python-txaio))) + (home-page "https://crossbar.io/autobahn/") + (synopsis "Web Application Messaging Protocol implementation") + (description "This package provides an implementation of the @dfn{Web Application +Messaging Protocol} (WAMP). WAMP connects components in distributed +applications using Publish and Subscribe (PubSub) and routed Remote Procedure +Calls (rRPC). It is ideal for distributed, multi-client and server applications +such as IoT applications or multi-user database-driven business applications.") + (license license:expat))) -- cgit v1.2.3