about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pysaml2
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2020-02-09 22:14:01 +0000
committerJon <jonringer@users.noreply.github.com>2020-02-09 17:48:14 -0800
commit55ace3be68924df2a1639094c37a6f5b73afd2e1 (patch)
tree684cd82468d1b905f70a1f0c4bf039271ca19802 /pkgs/development/python-modules/pysaml2
parentbe32c3caaccdaf2f1bdf4bd2ce48324e00029e28 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/pysaml2')
-rw-r--r--pkgs/development/python-modules/pysaml2/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pysaml2/default.nix b/pkgs/development/python-modules/pysaml2/default.nix
index 8c0513b0b5130..81324920c431a 100644
--- a/pkgs/development/python-modules/pysaml2/default.nix
+++ b/pkgs/development/python-modules/pysaml2/default.nix
@@ -1,5 +1,6 @@
 { stdenv
 , buildPythonPackage
+, isPy3k
 , fetchFromGitHub
 , substituteAll
 , xmlsec
@@ -9,14 +10,16 @@
 
 buildPythonPackage rec {
   pname = "pysaml2";
-  version = "4.9.0";
+  version = "5.0.0";
+
+  disabled = !isPy3k;
 
   # No tests in PyPI tarball
   src = fetchFromGitHub {
     owner = "IdentityPython";
     repo = pname;
     rev = "v${version}";
-    sha256 = "1ww1l34zn25vxifs8nr0bg7gkhbpy5g45mj0jj4d8hzimahb1brx";
+    sha256 = "0hwhxz45h8l1b0615hf855z7valfcmm0nb7k31bcj84v68zp5rjs";
   };
 
   patches = [