1{ buildPythonPackage, fetchPypi, isPy27, lib, python-dateutil, lxml, requests
2, pytestCheckHook }:
3
4buildPythonPackage rec {
5 pname = "webdavclient3";
6 version = "3.14.6";
7
8 disabled = isPy27;
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "bcd22586bb0d58abc26ca56054fd04228e704bd36073c3080f4597c1556c880d";
13 };
14
15 propagatedBuildInputs = [ python-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}