about summary refs log tree commit diff
path: root/pkgs/development/python-modules/webdavclient3
diff options
context:
space:
mode:
authorDominik Michael Rauh <dmrauh@posteo.de>2020-07-28 13:23:13 +0200
committerDominik Michael Rauh <dmrauh@posteo.de>2020-07-28 15:16:07 +0200
commit5a680ef6d71875039eb74ce0788aa9de62f74fc7 (patch)
tree80084c0b34bace66e85ea1e3fa2393c2e7b75786 /pkgs/development/python-modules/webdavclient3
parent09e7fb1d5c08fdf6decb2b12738f3996193a4120 (diff)
pythonPackages.webdavclient3: init at 3.14.5
Diffstat (limited to 'pkgs/development/python-modules/webdavclient3')
-rw-r--r--pkgs/development/python-modules/webdavclient3/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/webdavclient3/default.nix b/pkgs/development/python-modules/webdavclient3/default.nix
new file mode 100644
index 0000000000000..eb13cd6b9bbfb
--- /dev/null
+++ b/pkgs/development/python-modules/webdavclient3/default.nix
@@ -0,0 +1,30 @@
+{ buildPythonPackage, fetchPypi, isPy27, lib, dateutil, lxml, requests
+, pytestCheckHook }:
+
+buildPythonPackage rec {
+  pname = "webdavclient3";
+  version = "3.14.5";
+
+  disabled = isPy27;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0yw3n5m70ysjn1ch48znpn4zr4a1bd0lsm7q2grqz7q5hfjzjwk0";
+  };
+
+  propagatedBuildInputs = [ dateutil lxml requests ];
+
+  checkInputs = [ pytestCheckHook ];
+
+  # disable tests completely, as most of them fail due to urllib3 not being able to establish a http connection
+  doCheck = false;
+
+  pythonImportsCheck = [ "webdav3.client" ];
+
+  meta = with lib; {
+    description = "Easy to use WebDAV Client for Python 3.x";
+    homepage = "https://github.com/ezhov-evgeny/webdav-client-python-3";
+    license = licenses.mit;
+    maintainers = with maintainers; [ dmrauh ];
+  };
+}