python3Packages.pytest-doctestplus: unbreak

+9 -7
+9 -7
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 4 , isPy27 5 , six 6 , pytest 7 , numpy 8 }: 9 10 buildPythonPackage rec { ··· 17 sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a"; 18 }; 19 20 - buildInputs = [ pytest ]; 21 22 propagatedBuildInputs = [ 23 six ··· 25 ]; 26 27 checkInputs = [ 28 - pytest 29 ]; 30 - 31 - # check_distribution incorrectly pulls pytest version 32 - checkPhase = '' 33 - pytest -k 'not check_distribution' 34 - ''; 35 36 meta = with lib; { 37 description = "Pytest plugin with advanced doctest features";
··· 4 , isPy27 5 , six 6 , pytest 7 + , pytestCheckHook 8 , numpy 9 + , setuptools_scm 10 }: 11 12 buildPythonPackage rec { ··· 19 sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a"; 20 }; 21 22 + nativeBuildInputs = [ 23 + setuptools_scm 24 + ]; 25 + buildInputs = [ 26 + pytest 27 + ]; 28 29 propagatedBuildInputs = [ 30 six ··· 32 ]; 33 34 checkInputs = [ 35 + pytestCheckHook 36 ]; 37 38 meta = with lib; { 39 description = "Pytest plugin with advanced doctest features";