diff --git a/pkgs/development/python-modules/execnet/default.nix b/pkgs/development/python-modules/execnet/default.nix index ec4bcca9f86..e45df492ed4 100644 --- a/pkgs/development/python-modules/execnet/default.nix +++ b/pkgs/development/python-modules/execnet/default.nix @@ -2,8 +2,8 @@ , buildPythonPackage , isPyPy , fetchPypi -, pytest -, setuptools_scm +, pytestCheckHook +, setuptools-scm , apipkg }: @@ -16,8 +16,8 @@ buildPythonPackage rec { sha256 = "cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50"; }; - checkInputs = [ pytest ]; - nativeBuildInputs = [ setuptools_scm ]; + checkInputs = [ pytestCheckHook ]; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ apipkg ]; # remove vbox tests @@ -29,15 +29,13 @@ buildPythonPackage rec { ${lib.optionalString isPyPy "rm -v testing/test_multi.py"} ''; - checkPhase = '' - py.test testing - ''; + pythonImportsCheck = [ "execnet" ]; __darwinAllowLocalNetworking = true; meta = with lib; { - description = "Rapid multi-Python deployment"; - license = licenses.gpl2; + description = "Distributed Python deployment and communication"; + license = licenses.mit; homepage = "https://execnet.readthedocs.io/"; maintainers = with maintainers; [ nand0p ]; };