@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchFromGitHub, libxml2
1+{ stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, libxml2
22, m2crypto, ply, pyyaml, six
33, httpretty, lxml, mock, pytest, requests
44}:
@@ -14,6 +14,15 @@ buildPythonPackage rec {
1414 sha256 = "0jcwklip03xcni0dvsk9va8ilqz21g4fxwqd5kzvv91slaadfcym";
1515 };
1616
17+ patches = [
18+ # fix timezone handling so the tests pass again. Can go when 0.11.0 is released
19+ # https://github.com/pywbem/pywbem/issues/755#issuecomment-327508681
20+ (fetchpatch {
21+ url = "https://github.com/pywbem/pywbem/commit/bb7fa19d636d999bf844d80939e155b8f212ef3e.patch";
22+ sha256 = "1c5fsz4zdbgwwni7njdixbwhb5i9bw11mabqpzivrh7z9wna6ab9";
23+ })
24+ ];
25+
1726 propagatedBuildInputs = [ m2crypto ply pyyaml six ];
1827
1928 checkInputs = [ httpretty lxml mock pytest requests ];