2021-07-04 02:40:35 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, isPy27, lib, python-dateutil, lxml, requests
|
2020-08-20 17:08:02 +00:00
|
|
|
, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "webdavclient3";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "3.14.6";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-22 07:53:02 +00:00
|
|
|
sha256 = "bcd22586bb0d58abc26ca56054fd04228e704bd36073c3080f4597c1556c880d";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
propagatedBuildInputs = [ python-dateutil lxml requests ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|