python313Packages.polyline: migrate to pytest-cov-stub

Changed files
+5 -6
pkgs
development
python-modules
polyline
+5 -6
pkgs/development/python-modules/polyline/default.nix
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
+
pytest-cov-stub,
pythonOlder,
setuptools,
wheel,
···
hash = "sha256-fbGGfZdme4OiIGNlXG1uVl1xP+rPVI9l5hjHM0gwAsE=";
};
-
postPatch = ''
-
substituteInPlace pyproject.toml \
-
--replace " --cov=polyline --cov-report term-missing" ""
-
'';
-
nativeBuildInputs = [
setuptools
wheel
];
-
nativeCheckInputs = [ pytestCheckHook ];
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-cov-stub
+
];
pythonImportsCheck = [ "polyline" ];