Skip to content

Commit

Permalink
pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps
Browse files Browse the repository at this point in the history
these only expired (and upstream only seem to have noticed) today
  • Loading branch information
risicle authored and Jon committed Feb 11, 2020
1 parent 9eaf6f5 commit f77e057
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/pysaml2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, buildPythonPackage
, isPy3k
, fetchFromGitHub
, fetchpatch
, substituteAll
, xmlsec
, cryptography, defusedxml, future, pyopenssl, dateutil, pytz, requests, six
Expand All @@ -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 ];
Expand Down

0 comments on commit f77e057

Please sign in to comment.