Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / webdavclient3 / default.nix
blobeb13cd6b9bbfb564f6be15c5ec2dd4d55f22b7f3
1 { buildPythonPackage, fetchPypi, isPy27, lib, dateutil, lxml, requests
2 , pytestCheckHook }:
4 buildPythonPackage rec {
5   pname = "webdavclient3";
6   version = "3.14.5";
8   disabled = isPy27;
10   src = fetchPypi {
11     inherit pname version;
12     sha256 = "0yw3n5m70ysjn1ch48znpn4zr4a1bd0lsm7q2grqz7q5hfjzjwk0";
13   };
15   propagatedBuildInputs = [ dateutil lxml requests ];
17   checkInputs = [ pytestCheckHook ];
19   # disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection
20   doCheck = false;
22   pythonImportsCheck = [ "webdav3.client" ];
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   };