emacsPackages.treemacs: replace python3 program (#364623)
[NixPkgs.git] / pkgs / development / python-modules / webdavclient3 / default.nix
blob168ee71745f435d57900be4bac2d45510c3952cf
2   buildPythonPackage,
3   fetchPypi,
4   isPy27,
5   lib,
6   python-dateutil,
7   lxml,
8   requests,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "webdavclient3";
14   version = "3.14.6";
15   format = "setuptools";
17   disabled = isPy27;
19   src = fetchPypi {
20     inherit pname version;
21     sha256 = "bcd22586bb0d58abc26ca56054fd04228e704bd36073c3080f4597c1556c880d";
22   };
24   propagatedBuildInputs = [
25     python-dateutil
26     lxml
27     requests
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   # disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection
33   doCheck = false;
35   pythonImportsCheck = [ "webdav3.client" ];
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   };