diff --git a/pkgs/development/python-modules/versioningit/default.nix b/pkgs/development/python-modules/versioningit/default.nix index c578f96e1883..68729dc107ba 100644 --- a/pkgs/development/python-modules/versioningit/default.nix +++ b/pkgs/development/python-modules/versioningit/default.nix @@ -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