From 5a680ef6d71875039eb74ce0788aa9de62f74fc7 Mon Sep 17 00:00:00 2001 From: Dominik Michael Rauh Date: Tue, 28 Jul 2020 13:23:13 +0200 Subject: [PATCH] pythonPackages.webdavclient3: init at 3.14.5 --- .../python-modules/webdavclient3/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/webdavclient3/default.nix diff --git a/pkgs/development/python-modules/webdavclient3/default.nix b/pkgs/development/python-modules/webdavclient3/default.nix new file mode 100644 index 000000000000..eb13cd6b9bbf --- /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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b8059a6723cb..61ee091dab0c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1713,6 +1713,8 @@ in { webapp2 = callPackage ../development/python-modules/webapp2 { }; + webdavclient3 = callPackage ../development/python-modules/webdavclient3 { }; + wordcloud = callPackage ../development/python-modules/wordcloud { }; wrf-python = callPackage ../development/python-modules/wrf-python { };