Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 946 B view raw
1{ lib 2, buildPythonPackage 3, isPyPy 4, fetchPypi 5, pytestCheckHook 6, setuptools-scm 7, apipkg 8}: 9 10buildPythonPackage rec { 11 pname = "execnet"; 12 version = "1.8.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-tzxVZeUX8kti3qilzqwXjGYcQwnTqgw+QghWwHLEEbQ="; 17 }; 18 19 checkInputs = [ pytestCheckHook ]; 20 nativeBuildInputs = [ setuptools-scm ]; 21 propagatedBuildInputs = [ apipkg ]; 22 23 # remove vbox tests 24 postPatch = '' 25 rm -v testing/test_termination.py 26 rm -v testing/test_channel.py 27 rm -v testing/test_xspec.py 28 rm -v testing/test_gateway.py 29 ${lib.optionalString isPyPy "rm -v testing/test_multi.py"} 30 ''; 31 32 pythonImportsCheck = [ "execnet" ]; 33 34 __darwinAllowLocalNetworking = true; 35 36 meta = with lib; { 37 description = "Distributed Python deployment and communication"; 38 license = licenses.mit; 39 homepage = "https://execnet.readthedocs.io/"; 40 maintainers = with maintainers; [ ]; 41 }; 42 43}