2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, aioresponses
|
2020-04-24 23:36:52 +00:00
|
|
|
, appdirs
|
|
|
|
, attrs
|
2021-06-28 23:13:55 +00:00
|
|
|
, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, cached-property
|
|
|
|
, defusedxml
|
2021-06-28 23:13:55 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, freezegun
|
|
|
|
, httpx
|
2020-04-24 23:36:52 +00:00
|
|
|
, isodate
|
|
|
|
, lxml
|
|
|
|
, mock
|
|
|
|
, pretend
|
2021-06-28 23:13:55 +00:00
|
|
|
, pytest-asyncio
|
|
|
|
, pytest-httpx
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, requests
|
|
|
|
, requests_toolbelt
|
|
|
|
, requests-file
|
2020-04-24 23:36:52 +00:00
|
|
|
, requests-mock
|
2021-06-28 23:13:55 +00:00
|
|
|
, xmlsec
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zeep";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "4.0.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvantellingen";
|
|
|
|
repo = "python-zeep";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1rwmwk47fxs8dxwv5dr6gbnbiyilznifb47fhbxgzj231w0y82cm";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
attrs
|
|
|
|
cached-property
|
|
|
|
defusedxml
|
2021-06-28 23:13:55 +00:00
|
|
|
httpx
|
2020-04-24 23:36:52 +00:00
|
|
|
isodate
|
|
|
|
lxml
|
2021-06-28 23:13:55 +00:00
|
|
|
pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
requests
|
|
|
|
requests_toolbelt
|
2021-06-28 23:13:55 +00:00
|
|
|
requests-file
|
|
|
|
xmlsec
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
aiohttp
|
|
|
|
aioresponses
|
2020-04-24 23:36:52 +00:00
|
|
|
freezegun
|
|
|
|
mock
|
|
|
|
pretend
|
2021-06-28 23:13:55 +00:00
|
|
|
pytest-asyncio
|
|
|
|
pytest-httpx
|
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
requests-mock
|
2021-06-28 23:13:55 +00:00
|
|
|
xmlsec
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d);
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
disabledTests = [
|
|
|
|
# lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 2, column 64
|
|
|
|
"test_mime_content_serialize_text_xml"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "zeep" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "Python SOAP client";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://docs.python-zeep.org";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rvl ];
|
|
|
|
};
|
|
|
|
}
|