python312Packages.versioningit: migrate to pytest-cov-stub

This commit is contained in:
Martin Weinelt
2024-08-11 18:05:17 +02:00
parent 1cc6db100b
commit 649aa5999b
@@ -10,6 +10,7 @@
build,
hatchling,
pydantic,
pytest-cov-stub,
pytest-mock,
setuptools,
git,
@@ -28,12 +29,6 @@ buildPythonPackage rec {
hash = "sha256-sLpYblrwi4fb4zVAgpEKHQUCw2IC1JbhrmDvO0HuKcE=";
};
postPatch = ''
substituteInPlace tox.ini \
--replace "--cov=versioningit" "" \
--replace "--cov-config=tox.ini" "" \
--replace "--no-cov-on-fail" ""
'';
nativeBuildInputs = [ hatchling ];
@@ -47,6 +42,7 @@ buildPythonPackage rec {
build
hatchling
pydantic
pytest-cov-stub
pytest-mock
setuptools
git