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