pythonPackages.autobahn: 0.16.0 -> 0.18.2
This commit is contained in:
parent
0743b0fb6e
commit
63fd2c7e62
30
pkgs/development/python-modules/autobahn/default.nix
Normal file
30
pkgs/development/python-modules/autobahn/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -31516,28 +31516,7 @@ EOF
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
autobahn = buildPythonPackage rec {
|
autobahn = callPackage ../development/python-modules/autobahn { };
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "autobahn";
|
|
||||||
version = "0.16.0";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "1158ml8h3g0vlsgw2jmy579glbg7dn0mjij8xibdl509b8qv9p51";
|
|
||||||
};
|
|
||||||
buildInputs = with self; [ unittest2 mock pytest_29 trollius ];
|
|
||||||
propagatedBuildInputs = with self; [ six twisted txaio ];
|
|
||||||
checkPhase = ''
|
|
||||||
py.test $out
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
jsonref = buildPythonPackage rec {
|
jsonref = buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user