diff --git a/pkgs/development/python-modules/ge25519/default.nix b/pkgs/development/python-modules/ge25519/default.nix index 24d2d4f15030..d8bf085d7142 100644 --- a/pkgs/development/python-modules/ge25519/default.nix +++ b/pkgs/development/python-modules/ge25519/default.nix @@ -6,6 +6,7 @@ fetchPypi, fountains, parts, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, @@ -32,12 +33,10 @@ buildPythonPackage rec { fountains ]; - nativeCheckInputs = [ pytestCheckHook ]; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace "--doctest-modules --ignore=docs --cov=ge25519 --cov-report term-missing" "" - ''; + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; pythonImportsCheck = [ "ge25519" ];