1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest_3
5, isPyPy
6}:
7
8buildPythonPackage rec {
9 pname = "suds-jurko";
10 version = "0.6";
11 disabled = isPyPy; # lots of failures
12
13 src = fetchPypi {
14 inherit pname version;
15 extension = "zip";
16 sha256 = "1s4radwf38kdh3jrn5acbidqlr66sx786fkwi0rgq61hn4n2bdqw";
17 };
18
19 checkInputs = [ pytest_3 ];
20
21 postPatch = ''
22 # fails
23 substituteInPlace tests/test_transport_http.py \
24 --replace "test_sending_unicode_data" "noop"
25 '';
26
27 meta = with stdenv.lib; {
28 description = "Lightweight SOAP client (Jurko's fork)";
29 homepage = https://bitbucket.org/jurko/suds;
30 license = licenses.lgpl3;
31 };
32
33}