Skip to content

Commit f77e057

Browse files
risicleJon
authored andcommitted
pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps
these only expired (and upstream only seem to have noticed) today
1 parent 9eaf6f5 commit f77e057

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkgs/development/python-modules/pysaml2/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
, buildPythonPackage
33
, isPy3k
44
, fetchFromGitHub
5+
, fetchpatch
56
, substituteAll
67
, xmlsec
78
, cryptography, defusedxml, future, pyopenssl, dateutil, pytz, requests, six
@@ -27,6 +28,12 @@ buildPythonPackage rec {
2728
src = ./hardcode-xmlsec1-path.patch;
2829
inherit xmlsec;
2930
})
31+
# remove on next release
32+
(fetchpatch {
33+
name = "fix-test-dates.patch";
34+
url = "https://github.com/IdentityPython/pysaml2/commit/1d97d2d26f63e42611558fdd0e439bb8a7496a27.patch";
35+
sha256 = "0r6d6hkk6z9yw7aqnsnylii516ysmdsc8dghwmgnwvw6cm7l388p";
36+
})
3037
];
3138

3239
propagatedBuildInputs = [ cryptography defusedxml future pyopenssl dateutil pytz requests six ];

0 commit comments

Comments
 (0)