diff options
author | Lancelot SIX <lsix@lancelotsix.com> | 2017-04-26 14:30:04 +0200 |
---|---|---|
committer | Lancelot SIX <lsix@lancelotsix.com> | 2017-05-02 09:25:35 +0200 |
commit | 63fd2c7e622423aeb230b34155d48794d174f7cf (patch) | |
tree | 99bffd06d190c9a3838d437489f0d09c7892936d /pkgs/development/python-modules/autobahn | |
parent | 0743b0fb6e07e5893b4db72bfbf0f22e99e66acb (diff) | |
download | nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar.gz nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar.bz2 nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar.lz nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar.xz nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.tar.zst nixlib-63fd2c7e622423aeb230b34155d48794d174f7cf.zip |
pythonPackages.autobahn: 0.16.0 -> 0.18.2
Diffstat (limited to 'pkgs/development/python-modules/autobahn')
-rw-r--r-- | pkgs/development/python-modules/autobahn/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix new file mode 100644 index 000000000000..6230a5d149ce --- /dev/null +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -0,0 +1,30 @@ +{ stdenv, buildPythonPackage, fetchurl, isPy3k, + unittest2, mock, pytest, trollius, pytest-asyncio, + six, twisted, txaio +}: +buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "autobahn"; + version = "0.18.2"; + + src = fetchurl { + url = "mirror://pypi/a/${pname}/${name}.tar.gz"; + sha256 = "1alp71plqnrak5nm2vn9mmkxayjb081c1kihqwf60wdpvv0w7y14"; + }; + + buildInputs = [ unittest2 mock pytest trollius pytest-asyncio ]; + propagatedBuildInputs = [ six twisted txaio ]; + + disabled = !isPy3k; + checkPhase = '' + py.test $out + ''; + + meta = with stdenv.lib; { + description = "WebSocket and WAMP in Python for Twisted and asyncio."; + homepage = "http://crossbar.io/autobahn"; + license = licenses.mit; + maintainers = with maintainers; [ nand0p ]; + platforms = platforms.all; + }; +} |