python3Packages.pytest-doctestplus: unbreak

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