pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps

these only expired (and upstream only seem to have noticed) today
This commit is contained in:
Robert Scott 2020-02-10 22:45:12 +00:00 committed by Jon
parent 9eaf6f5f5c
commit f77e057cda

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, isPy3k
, fetchFromGitHub
, fetchpatch
, substituteAll
, xmlsec
, cryptography, defusedxml, future, pyopenssl, dateutil, pytz, requests, six
@ -27,6 +28,12 @@ buildPythonPackage rec {
src = ./hardcode-xmlsec1-path.patch;
inherit xmlsec;
})
# remove on next release
(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 ];