python312Packages.webdav4: modernize

This commit is contained in:
Peder Bergebakken Sundt 2024-08-24 18:50:30 +02:00
parent 7b602b5456
commit 292a9bce10

View File

@ -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;