diff --git a/pkgs/development/python-modules/openevsewifi/default.nix b/pkgs/development/python-modules/openevsewifi/default.nix index 53934a98d819..48ca148b5563 100644 --- a/pkgs/development/python-modules/openevsewifi/default.nix +++ b/pkgs/development/python-modules/openevsewifi/default.nix @@ -6,6 +6,7 @@ fetchpatch, poetry-core, pytestCheckHook, + pytest-cov-stub, requests, requests-mock, }: @@ -32,6 +33,7 @@ buildPythonPackage rec { nativeCheckInputs = [ requests-mock pytestCheckHook + pytest-cov-stub ]; patches = [ @@ -43,11 +45,6 @@ buildPythonPackage rec { }) ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'pytest-cov = "^2.8.1"' "" - ''; - pythonImportsCheck = [ "openevsewifi" ]; meta = {