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.9.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5"; 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}