diff options
Diffstat (limited to 'pkgs/development/python-modules/versioningit/default.nix')
-rw-r--r-- | pkgs/development/python-modules/versioningit/default.nix | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/versioningit/default.nix b/pkgs/development/python-modules/versioningit/default.nix index dbbe59f5f60d0..9abbf8bba33bd 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, @@ -18,23 +19,16 @@ buildPythonPackage rec { pname = "versioningit"; - version = "3.1.0"; + version = "3.1.2"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-eqxxPDGlPrNnprvC6LPejMK4bRDUXFEBr9ZRRGyxD9c="; + hash = "sha256-Tbg+2Z9WsH2DlAvuNEXKRsoSDRO2swTNtftE5apO3sA="; }; - postPatch = '' - substituteInPlace tox.ini \ - --replace "--cov=versioningit" "" \ - --replace "--cov-config=tox.ini" "" \ - --replace "--no-cov-on-fail" "" - ''; - nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = @@ -47,6 +41,7 @@ buildPythonPackage rec { build hatchling pydantic + pytest-cov-stub pytest-mock setuptools git |