File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
pkgs/development/python-modules/pysaml2 Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 44 cryptography ,
55 defusedxml ,
66 fetchFromGitHub ,
7+ fetchpatch ,
78 paste ,
89 poetry-core ,
910 pyasn1 ,
2526
2627buildPythonPackage rec {
2728 pname = "pysaml2" ;
28- version = "7.5.0" ;
29- format = "pyproject" ;
30-
31- disabled = pythonOlder "3.9" ;
29+ version = "7.5.2" ;
30+ pyproject = true ;
3231
3332 src = fetchFromGitHub {
3433 owner = "IdentityPython" ;
3534 repo = "pysaml2" ;
3635 tag = "v${ version } " ;
37- hash = "sha256-M/tdKGu6K38TeBZc8/dt376bHhPB0svHB3iis/se0DY =" ;
36+ hash = "sha256-2mvAXTruZqoSBUgfT2VEAnWQXVdviG0e49y7LPK5x00 =" ;
3837 } ;
3938
4039 patches = [
4140 ( replaceVars ./hardcode-xmlsec1-path.patch {
4241 inherit xmlsec ;
4342 } )
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+ } )
4448 ] ;
4549
4650 postPatch = ''
@@ -86,6 +90,9 @@ buildPythonPackage rec {
8690 "test_load_remote_encoding"
8791 "test_load_external"
8892 "test_conf_syslog"
93+
94+ # Broken XML schema check in 7.5.2
95+ "test_namespace_processing"
8996 ] ;
9097
9198 pythonImportsCheck = [ "saml2" ] ;
@@ -96,8 +103,5 @@ buildPythonPackage rec {
96103 changelog = "https://github.com/IdentityPython/pysaml2/blob/v${ version } /CHANGELOG.md" ;
97104 license = licenses . asl20 ;
98105 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 ;
102106 } ;
103107}
You can’t perform that action at this time.
0 commit comments