python: autobahn: 18.7.1 -> 18.8.1

This commit is contained in:
Frederik Rietdijk 2018-08-25 07:42:44 +02:00
parent db2cd1de46
commit aedf32c809

View File

@ -1,22 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPy33, { stdenv, buildPythonPackage, fetchPypi, isPy3k, isPy33,
unittest2, mock, pytest, trollius, asyncio, unittest2, mock, pytest, trollius, asyncio,
pytest-asyncio, futures, pytest-asyncio, futures, cffi,
six, twisted, txaio, zope_interface six, twisted, txaio, zope_interface
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "autobahn"; pname = "autobahn";
version = "18.7.1"; version = "18.8.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "163dd329c2a29f4ef82f7fe85a6f6e654a2aa6837bd83834cf537e4efa9204be"; sha256 = "b69858e0be4bff8437b0bd82a0db1cbef7405e16bd9354ba587c043d6d5e1ad9";
}; };
# Upstream claim python2 support, but tests require pytest-asyncio which # Upstream claim python2 support, but tests require pytest-asyncio which
# is pythn3 only. Therefore, tests are skipped for python2. # is pythn3 only. Therefore, tests are skipped for python2.
doCheck = isPy3k; doCheck = isPy3k;
buildInputs = stdenv.lib.optionals isPy3k [ unittest2 mock pytest pytest-asyncio ]; checkInputs = stdenv.lib.optionals isPy3k [ unittest2 mock pytest pytest-asyncio ];
propagatedBuildInputs = [ six twisted zope_interface txaio ] ++ propagatedBuildInputs = [ cffi six twisted zope_interface txaio ] ++
(stdenv.lib.optional isPy33 asyncio) ++ (stdenv.lib.optional isPy33 asyncio) ++
(stdenv.lib.optionals (!isPy3k) [ trollius futures ]); (stdenv.lib.optionals (!isPy3k) [ trollius futures ]);
@ -29,6 +29,5 @@ buildPythonPackage rec {
homepage = "https://crossbar.io/autobahn"; homepage = "https://crossbar.io/autobahn";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ nand0p ]; maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;
}; };
} }