Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 68 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchPypi, py, pytestCheckHook, python, pythonOlder, tornado, zeromq}:
buildPythonPackage rec { pname = "pyzmq"; version = "24.0.1"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; hash = "sha256-IW9dfbtnFmdZ5ZsEebyoK4rPm+1gFbUmuOsQFD+wjnc="; };
buildInputs = [ zeromq ];
propagatedBuildInputs = [ py ];
nativeCheckInputs = [ pytestCheckHook tornado ];
pythonImportsCheck = [ "zmq" ];
pytestFlagsArray = [ "$out/${python.sitePackages}/zmq/tests/" # Folder with tests ];
disabledTests = [ # Tests hang "test_socket" "test_monitor" # https://github.com/zeromq/pyzmq/issues/1272 "test_cython" # Test fails "test_mockable" # Issues with the sandbox "TestFutureSocket" "TestIOLoop" "TestPubLog" ];
# Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;
meta = with lib; { description = "Python bindings for ØMQ"; homepage = "https://pyzmq.readthedocs.io/"; license = with licenses; [ bsd3 /* or */ lgpl3Only ]; maintainers = with maintainers; [ ]; };}