1{ buildPythonPackage, fetchPypi, isPy27, lib, dateutil, lxml, requests
2, pytestCheckHook }:
3
4buildPythonPackage rec {
5 pname = "webdavclient3";
6 version = "3.14.5";
7
8 disabled = isPy27;
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "0yw3n5m70ysjn1ch48znpn4zr4a1bd0lsm7q2grqz7q5hfjzjwk0";
13 };
14
15 propagatedBuildInputs = [ dateutil lxml requests ];
16
17 checkInputs = [ pytestCheckHook ];
18
19 # disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection
20 doCheck = false;
21
22 pythonImportsCheck = [ "webdav3.client" ];
23
24 meta = with lib; {
25 description = "Easy to use WebDAV Client for Python 3.x";
26 homepage = "https://github.com/ezhov-evgeny/webdav-client-python-3";
27 license = licenses.mit;
28 maintainers = with maintainers; [ dmrauh ];
29 };
30}