25 buildPythonPackage rec {
30 disabled = pythonOlder "3.6";
33 inherit pname version;
34 hash = "sha256-BwZywlhYHI5PZAtRWSl1gKmXSwJgQ71KsEcL6e0yTx8=";
43 ] ++ (if isPyPy then [ cffi ] else [ cython ]);
45 dontUseCmakeConfigure = true;
52 dependencies = lib.optionals isPyPy [ cffi ];
60 pythonImportsCheck = [ "zmq" ];
70 # https://github.com/zeromq/pyzmq/issues/1272
74 # Issues with the sandbox
80 # Some of the tests use localhost networking.
81 __darwinAllowLocalNetworking = true;
84 description = "Python bindings for ØMQ";
85 homepage = "https://pyzmq.readthedocs.io/";
86 license = with licenses; [