diff --git a/pkgs/development/python-modules/webdav4/default.nix b/pkgs/development/python-modules/webdav4/default.nix index 8083b080e44d..9a6459fa375e 100644 --- a/pkgs/development/python-modules/webdav4/default.nix +++ b/pkgs/development/python-modules/webdav4/default.nix @@ -10,6 +10,7 @@ httpx, pytest-xdist, pytestCheckHook, + pytest-cov-stub, python-dateutil, pythonOlder, wsgidav, @@ -29,17 +30,12 @@ buildPythonPackage rec { hash = "sha256-LgWYgERRuUODFzUnC08kDJTVRx9vanJ+OU8sREEMVwM="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov" "" - ''; - - nativeBuildInputs = [ + build-system = [ hatch-vcs hatchling ]; - propagatedBuildInputs = [ + dependencies = [ httpx python-dateutil ]; @@ -49,6 +45,7 @@ buildPythonPackage rec { colorama pytest-xdist pytestCheckHook + pytest-cov-stub wsgidav ] ++ passthru.optional-dependencies.fsspec;