Skip to content

Commit 5a680ef

Browse files
committed
pythonPackages.webdavclient3: init at 3.14.5
1 parent 09e7fb1 commit 5a680ef

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{ buildPythonPackage, fetchPypi, isPy27, lib, dateutil, lxml, requests
2+
, pytestCheckHook }:
3+
4+
buildPythonPackage 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+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,8 @@ in {
17131713

17141714
webapp2 = callPackage ../development/python-modules/webapp2 { };
17151715

1716+
webdavclient3 = callPackage ../development/python-modules/webdavclient3 { };
1717+
17161718
wordcloud = callPackage ../development/python-modules/wordcloud { };
17171719

17181720
wrf-python = callPackage ../development/python-modules/wrf-python { };

0 commit comments

Comments
 (0)