2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
isPy27,
|
|
|
|
lib,
|
|
|
|
python-dateutil,
|
|
|
|
lxml,
|
|
|
|
requests,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "webdavclient3";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "3.14.6";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-22 07:53:02 +00:00
|
|
|
sha256 = "bcd22586bb0d58abc26ca56054fd04228e704bd36073c3080f4597c1556c880d";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
python-dateutil
|
|
|
|
lxml
|
|
|
|
requests
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
# disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "webdav3.client" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easy to use WebDAV Client for Python 3.x";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "wdc";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/ezhov-evgeny/webdav-client-python-3";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dmrauh ];
|
|
|
|
};
|
|
|
|
}
|