python3Packages.pysaml2: 7.5.0 -> 7.5.2

melvyn 768d5fa4 20f510d5

+12 -8
+12 -8
pkgs/development/python-modules/pysaml2/default.nix
··· 4 4 cryptography, 5 5 defusedxml, 6 6 fetchFromGitHub, 7 + fetchpatch, 7 8 paste, 8 9 poetry-core, 9 10 pyasn1, ··· 25 26 26 27 buildPythonPackage rec { 27 28 pname = "pysaml2"; 28 - version = "7.5.0"; 29 - format = "pyproject"; 30 - 31 - disabled = pythonOlder "3.9"; 29 + version = "7.5.2"; 30 + pyproject = true; 32 31 33 32 src = fetchFromGitHub { 34 33 owner = "IdentityPython"; 35 34 repo = "pysaml2"; 36 35 tag = "v${version}"; 37 - hash = "sha256-M/tdKGu6K38TeBZc8/dt376bHhPB0svHB3iis/se0DY="; 36 + hash = "sha256-2mvAXTruZqoSBUgfT2VEAnWQXVdviG0e49y7LPK5x00="; 38 37 }; 39 38 40 39 patches = [ 41 40 (replaceVars ./hardcode-xmlsec1-path.patch { 42 41 inherit xmlsec; 43 42 }) 43 + # Replaces usages of deprecated/removed pyopenssl APIs 44 + (fetchpatch { 45 + url = "https://github.com/IdentityPython/pysaml2/pull/977/commits/930a652a240c8cd1489429a7d70cf5fa7ef1606a.patch"; 46 + hash = "sha256-kBNvGk5pwVmpW1wsIWVH9wapu6kjFavaTt4e3Llaw2c="; 47 + }) 44 48 ]; 45 49 46 50 postPatch = '' ··· 86 90 "test_load_remote_encoding" 87 91 "test_load_external" 88 92 "test_conf_syslog" 93 + 94 + # Broken XML schema check in 7.5.2 95 + "test_namespace_processing" 89 96 ]; 90 97 91 98 pythonImportsCheck = [ "saml2" ]; ··· 96 103 changelog = "https://github.com/IdentityPython/pysaml2/blob/v${version}/CHANGELOG.md"; 97 104 license = licenses.asl20; 98 105 maintainers = [ ]; 99 - # Does not support pyopenssl above 24.3.0 due to use of a deprecated API, 100 - # see https://github.com/IdentityPython/pysaml2/issues/975 101 - broken = true; 102 106 }; 103 107 }