Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchPypi, 4 isPy27, 5 lib, 6 python-dateutil, 7 lxml, 8 requests, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "webdavclient3"; 14 version = "3.14.6"; 15 format = "setuptools"; 16 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "bcd22586bb0d58abc26ca56054fd04228e704bd36073c3080f4597c1556c880d"; 22 }; 23 24 propagatedBuildInputs = [ 25 python-dateutil 26 lxml 27 requests 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 # disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection 33 doCheck = false; 34 35 pythonImportsCheck = [ "webdav3.client" ]; 36 37 meta = with lib; { 38 description = "Easy to use WebDAV Client for Python 3.x"; 39 mainProgram = "wdc"; 40 homepage = "https://github.com/ezhov-evgeny/webdav-client-python-3"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ dmrauh ]; 43 }; 44}