at 22.05-pre 912 B view raw
1{ buildPythonPackage 2, fetchPypi 3, pytestCheckHook 4, tornado 5, zeromq 6, py 7, python 8}: 9 10buildPythonPackage rec { 11 pname = "pyzmq"; 12 version = "22.3.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "8eddc033e716f8c91c6a2112f0a8ebc5e00532b4a6ae1eb0ccc48e027f9c671c"; 17 }; 18 19 checkInputs = [ 20 pytestCheckHook 21 tornado 22 ]; 23 buildInputs = [ zeromq ]; 24 propagatedBuildInputs = [ py ]; 25 26 # failing tests 27 disabledTests = [ 28 "test_socket" # hangs 29 "test_current" 30 "test_instance" 31 "test_callable_check" 32 "test_on_recv_basic" 33 "test_on_recv_wake" 34 "test_monitor" # https://github.com/zeromq/pyzmq/issues/1272 35 "test_cython" 36 "test_asyncio" # hangs 37 "test_mockable" # fails 38 ]; 39 40 pytestFlagsArray = [ 41 "$out/${python.sitePackages}/zmq/tests/" # Folder with tests 42 ]; 43 44 # Some of the tests use localhost networking. 45 __darwinAllowLocalNetworking = true; 46}