2021-06-07 11:02:12 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, aioresponses
|
2017-03-15 20:33:25 +00:00
|
|
|
, appdirs
|
2019-04-11 16:17:31 +00:00
|
|
|
, attrs
|
2021-06-07 11:02:12 +00:00
|
|
|
, buildPythonPackage
|
2017-03-15 20:33:25 +00:00
|
|
|
, cached-property
|
|
|
|
, defusedxml
|
2021-06-07 11:02:12 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, freezegun
|
|
|
|
, httpx
|
2017-03-15 20:33:25 +00:00
|
|
|
, isodate
|
|
|
|
, lxml
|
|
|
|
, mock
|
|
|
|
, pretend
|
2021-06-07 11:02:12 +00:00
|
|
|
, pytest-asyncio
|
|
|
|
, pytest-httpx
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, requests
|
2021-07-20 21:21:18 +00:00
|
|
|
, requests-toolbelt
|
2021-06-07 11:02:12 +00:00
|
|
|
, requests-file
|
2017-03-15 20:33:25 +00:00
|
|
|
, requests-mock
|
2021-06-07 11:02:12 +00:00
|
|
|
, xmlsec
|
2017-03-15 20:33:25 +00:00
|
|
|
}:
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
buildPythonPackage rec {
|
2017-03-15 20:33:25 +00:00
|
|
|
pname = "zeep";
|
2021-06-07 11:02:12 +00:00
|
|
|
version = "4.0.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
2017-03-15 20:33:25 +00:00
|
|
|
|
2021-06-07 11:02:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mvantellingen";
|
|
|
|
repo = "python-zeep";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1rwmwk47fxs8dxwv5dr6gbnbiyilznifb47fhbxgzj231w0y82cm";
|
2017-03-15 20:33:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
2019-04-11 16:17:31 +00:00
|
|
|
attrs
|
2017-03-15 20:33:25 +00:00
|
|
|
cached-property
|
|
|
|
defusedxml
|
2021-06-07 11:02:12 +00:00
|
|
|
httpx
|
2017-03-15 20:33:25 +00:00
|
|
|
isodate
|
|
|
|
lxml
|
2021-06-07 11:02:12 +00:00
|
|
|
pytz
|
2019-04-11 16:17:31 +00:00
|
|
|
requests
|
2021-07-20 21:21:18 +00:00
|
|
|
requests-toolbelt
|
2021-06-07 11:02:12 +00:00
|
|
|
requests-file
|
|
|
|
xmlsec
|
|
|
|
];
|
2017-10-25 18:04:35 +00:00
|
|
|
|
2019-04-11 16:17:31 +00:00
|
|
|
checkInputs = [
|
2021-06-07 11:02:12 +00:00
|
|
|
aiohttp
|
|
|
|
aioresponses
|
2017-03-15 20:33:25 +00:00
|
|
|
freezegun
|
|
|
|
mock
|
|
|
|
pretend
|
2021-06-07 11:02:12 +00:00
|
|
|
pytest-asyncio
|
|
|
|
pytest-httpx
|
|
|
|
pytestCheckHook
|
2017-03-15 20:33:25 +00:00
|
|
|
requests-mock
|
2021-06-07 11:02:12 +00:00
|
|
|
xmlsec
|
|
|
|
];
|
2017-03-15 20:33:25 +00:00
|
|
|
|
2021-06-07 11:02:12 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d);
|
2017-03-15 20:33:25 +00:00
|
|
|
'';
|
|
|
|
|
2021-06-07 11:02:12 +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" ];
|
|
|
|
|
2017-03-15 20:33:25 +00:00
|
|
|
meta = with lib; {
|
2021-06-07 11:02:12 +00:00
|
|
|
description = "Python SOAP client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://docs.python-zeep.org";
|
2017-03-15 20:33:25 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rvl ];
|
|
|
|
};
|
|
|
|
}
|