at 22.05-pre 1.4 kB view raw
1{ lib 2, aiohttp 3, aioresponses 4, attrs 5, buildPythonPackage 6, cached-property 7, defusedxml 8, fetchFromGitHub 9, freezegun 10, httpx 11, isodate 12, lxml 13, mock 14, platformdirs 15, pretend 16, pytest-asyncio 17, pytest-httpx 18, pytestCheckHook 19, pythonOlder 20, pytz 21, requests 22, requests-toolbelt 23, requests-file 24, requests-mock 25, xmlsec 26}: 27 28buildPythonPackage rec { 29 pname = "zeep"; 30 version = "4.1.0"; 31 disabled = pythonOlder "3.6"; 32 33 src = fetchFromGitHub { 34 owner = "mvantellingen"; 35 repo = "python-zeep"; 36 rev = version; 37 sha256 = "sha256-fJLr2LJpbNQTl183R56G7sJILfm04R39qpJxLogQLoo="; 38 }; 39 40 propagatedBuildInputs = [ 41 attrs 42 cached-property 43 defusedxml 44 httpx 45 isodate 46 lxml 47 platformdirs 48 pytz 49 requests 50 requests-file 51 requests-toolbelt 52 xmlsec 53 ]; 54 55 checkInputs = [ 56 aiohttp 57 aioresponses 58 freezegun 59 mock 60 pretend 61 pytest-asyncio 62 pytest-httpx 63 pytestCheckHook 64 requests-mock 65 ]; 66 67 preCheck = '' 68 export HOME=$(mktemp -d); 69 ''; 70 71 disabledTests = [ 72 # lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 2, column 64 73 "test_mime_content_serialize_text_xml" 74 ]; 75 76 pythonImportsCheck = [ "zeep" ]; 77 78 meta = with lib; { 79 description = "Python SOAP client"; 80 homepage = "http://docs.python-zeep.org"; 81 license = licenses.mit; 82 maintainers = with maintainers; [ rvl ]; 83 }; 84}