python313Packages.newick: migrate to pytest-cov-stub

Changed files
+5 -6
pkgs
development
python-modules
newick
+5 -6
pkgs/development/python-modules/newick/default.nix
···
setuptools-scm,
pythonOlder,
pytestCheckHook,
+
pytest-cov-stub,
}:
buildPythonPackage rec {
···
nativeBuildInputs = [ setuptools-scm ];
-
postPatch = ''
-
# remove coverage arguments to pytest
-
sed -i '/--cov/d' setup.cfg
-
'';
-
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-cov-stub
+
];
pythonImportsCheck = [ "newick" ];