Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 39 lines 902 B view raw
1{ buildPythonPackage 2, fetchPypi 3, pytest 4, tornado 5, zeromq 6, py 7, python 8}: 9 10buildPythonPackage rec { 11 pname = "pyzmq"; 12 version = "19.0.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438"; 17 }; 18 19 checkInputs = [ pytest tornado ]; 20 buildInputs = [ zeromq ]; 21 propagatedBuildInputs = [ py ]; 22 23 # test_socket.py seems to be hanging 24 # others fail 25 # for test_monitor: https://github.com/zeromq/pyzmq/issues/1272 26 checkPhase = '' 27 py.test $out/${python.sitePackages}/zmq/ -k "not test_socket \ 28 and not test_current \ 29 and not test_instance \ 30 and not test_callable_check \ 31 and not test_on_recv_basic \ 32 and not test_on_recv_wake \ 33 and not test_monitor \ 34 and not test_cython" 35 ''; 36 37 # Some of the tests use localhost networking. 38 __darwinAllowLocalNetworking = true; 39}