Skip to content

Commit

Permalink
pythonPackages.webdavclient3: init at 3.14.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmrauh committed Jul 28, 2020
1 parent 09e7fb1 commit 5a680ef
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/python-modules/webdavclient3/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 5a680ef

Please sign in to comment.