1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/zeep/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

92 lines
1.4 KiB
Nix
Raw Normal View History

2021-06-07 13:02:12 +02:00
{ lib
, aiohttp
, aioresponses
, attrs
2021-06-07 13:02:12 +02:00
, buildPythonPackage
, cached-property
, defusedxml
2021-06-07 13:02:12 +02:00
, fetchFromGitHub
, freezegun
, httpx
, isodate
, lxml
, mock
2021-08-18 18:05:29 +02:00
, platformdirs
, pretend
2021-06-07 13:02:12 +02:00
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, pythonOlder
, pytz
, requests
, requests-toolbelt
2021-06-07 13:02:12 +02:00
, requests-file
, requests-mock
2021-06-07 13:02:12 +02:00
, xmlsec
}:
buildPythonPackage rec {
pname = "zeep";
2021-08-18 18:05:29 +02:00
version = "4.1.0";
2021-06-07 13:02:12 +02:00
disabled = pythonOlder "3.6";
2021-06-07 13:02:12 +02:00
src = fetchFromGitHub {
owner = "mvantellingen";
repo = "python-zeep";
rev = version;
2021-08-18 18:05:29 +02:00
sha256 = "sha256-fJLr2LJpbNQTl183R56G7sJILfm04R39qpJxLogQLoo=";
};
propagatedBuildInputs = [
attrs
cached-property
defusedxml
2021-06-07 13:02:12 +02:00
httpx
isodate
lxml
2021-08-18 18:05:29 +02:00
platformdirs
2021-06-07 13:02:12 +02:00
pytz
requests
2021-06-07 13:02:12 +02:00
requests-file
2021-08-18 18:05:29 +02:00
requests-toolbelt
2021-06-07 13:02:12 +02:00
xmlsec
];
2017-10-25 20:04:35 +02:00
checkInputs = [
2021-06-07 13:02:12 +02:00
aiohttp
aioresponses
freezegun
mock
pretend
2021-06-07 13:02:12 +02:00
pytest-asyncio
pytest-httpx
pytestCheckHook
requests-mock
2021-06-07 13:02:12 +02:00
];
2021-06-07 13:02:12 +02:00
preCheck = ''
export HOME=$(mktemp -d);
'';
2021-06-07 13:02:12 +02:00
disabledTests = [
# lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 2, column 64
"test_mime_content_serialize_text_xml"
# Tests are outdated
"test_load"
"test_load_cache"
"test_post"
2021-06-07 13:02:12 +02:00
];
pythonImportsCheck = [
"zeep"
];
2021-06-07 13:02:12 +02:00
meta = with lib; {
2021-06-07 13:02:12 +02:00
description = "Python SOAP client";
homepage = "http://docs.python-zeep.org";
license = licenses.mit;
maintainers = with maintainers; [ rvl ];
};
}