pythonPackages.pysaml2: 4.9.0 -> 5.0.0 (security)
addressing CVE-2020-5390. disabled for python 2.7 as support is being
removed from this release on.
commit55ace3be68924df2a1639094c37a6f5b73afd2e1
authorRobert Scott <code@humanleg.org.uk>
dateSun 9 Feb 2020, 22:14 (7 years ago)
parentbe32c3c
pkgs/development/python-modules/pysaml2/default.nix+5−2
@@ -1,5 +1,6 @@
11{ stdenv
22, buildPythonPackage
3+, isPy3k
34, fetchFromGitHub
45, substituteAll
56, xmlsec
@@ -9,14 +10,16 @@
910
1011buildPythonPackage rec {
1112 pname = "pysaml2";
12− version = "4.9.0";
13+ version = "5.0.0";
14+
15+ disabled = !isPy3k;
1316
1417 # No tests in PyPI tarball
1518 src = fetchFromGitHub {
1619 owner = "IdentityPython";
1720 repo = pname;
1821 rev = "v${version}";
19− sha256 = "1ww1l34zn25vxifs8nr0bg7gkhbpy5g45mj0jj4d8hzimahb1brx";
22+ sha256 = "0hwhxz45h8l1b0615hf855z7valfcmm0nb7k31bcj84v68zp5rjs";
2023 };
2124
2225 patches = [