24 buildPythonPackage rec {
29 disabled = pythonOlder "3.6";
32 inherit pname version;
33 hash = "sha256-k/GqMR6LuRLjTwBM8YZAek6Q7sTw7MDv0mBWv37aAiY=";
40 ] ++ (if isPyPy then [
50 propagatedBuildInputs = lib.optionals isPyPy [
60 pythonImportsCheck = [
65 "$out/${python.sitePackages}/zmq/tests/" # Folder with tests
66 # pytest.ini is missing in pypi's sdist
67 # https://github.com/zeromq/pyzmq/issues/1853#issuecomment-1592731986
69 "--ignore=$out/lib/python3.12/site-packages/zmq/tests/test_mypy.py"
76 # https://github.com/zeromq/pyzmq/issues/1272
80 # Issues with the sandbox
86 # Some of the tests use localhost networking.
87 __darwinAllowLocalNetworking = true;
90 description = "Python bindings for ØMQ";
91 homepage = "https://pyzmq.readthedocs.io/";
92 license = with licenses; [ bsd3 /* or */ lgpl3Only ];
93 maintainers = with maintainers; [ ];