python3Packages.pysaml2: fix tests

This commit is contained in:
Maximilian Bosch
2020-03-29 21:54:52 +02:00
parent 2015db31ae
commit a8639dff97

View File

@@ -4,7 +4,7 @@
, substituteAll
, xmlsec
, cryptography, defusedxml, future, pyopenssl, dateutil, pytz, requests, six
, mock, pyasn1, pymongo, pytest, responses
, mock, pyasn1, pymongo, pytest, responses, fetchpatch
}:
buildPythonPackage rec {
@@ -24,6 +24,11 @@ buildPythonPackage rec {
src = ./hardcode-xmlsec1-path.patch;
inherit xmlsec;
})
(fetchpatch {
name = "fix-test-dates.patch";
url = "https://github.com/IdentityPython/pysaml2/commit/1d97d2d26f63e42611558fdd0e439bb8a7496a27.patch";
sha256 = "0r6d6hkk6z9yw7aqnsnylii516ysmdsc8dghwmgnwvw6cm7l388p";
})
];
propagatedBuildInputs = [ cryptography defusedxml future pyopenssl dateutil pytz requests six ];