File tree Expand file tree Collapse file tree 2 files changed +341
-16
lines changed
pkgs/development/python-modules/pysaml2 Expand file tree Collapse file tree 2 files changed +341
-16
lines changed Original file line number Diff line number Diff line change 44 cryptography ,
55 defusedxml ,
66 fetchFromGitHub ,
7- fetchpatch ,
87 paste ,
98 poetry-core ,
109 pyasn1 ,
1110 pymongo ,
12- pyopenssl ,
1311 pytestCheckHook ,
1412 python-dateutil ,
15- pythonOlder ,
16- pytz ,
1713 repoze-who ,
1814 requests ,
1915 responses ,
2622
2723buildPythonPackage rec {
2824 pname = "pysaml2" ;
29- version = "7.5.2 " ;
25+ version = "7.5.4 " ;
3026 pyproject = true ;
3127
3228 src = fetchFromGitHub {
3329 owner = "IdentityPython" ;
3430 repo = "pysaml2" ;
3531 tag = "v${ version } " ;
36- hash = "sha256-2mvAXTruZqoSBUgfT2VEAnWQXVdviG0e49y7LPK5x00 =" ;
32+ hash = "sha256-DDs0jWONZ78995p7bbyIyZTWHnCI93SsbECqyeo0se8 =" ;
3733 } ;
3834
3935 patches = [
4036 ( replaceVars ./hardcode-xmlsec1-path.patch {
4137 inherit xmlsec ;
4238 } )
4339 # 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- } )
40+ # https://github.com/IdentityPython/pysaml2/pull/977
41+ ./replace-pyopenssl-with-cryptography.patch
4842 ] ;
4943
5044 postPatch = ''
@@ -54,18 +48,14 @@ buildPythonPackage rec {
5448
5549 pythonRelaxDeps = [ "xmlschema" ] ;
5650
57- nativeBuildInputs = [
51+ build-system = [
5852 poetry-core
5953 ] ;
6054
61- propagatedBuildInputs = [
55+ dependencies = [
6256 cryptography
6357 defusedxml
64- pyopenssl
65- python-dateutil
66- pytz
6758 requests
68- setuptools
6959 xmlschema
7060 ] ;
7161
@@ -81,6 +71,7 @@ buildPythonPackage rec {
8171 pyasn1
8272 pymongo
8373 pytestCheckHook
74+ python-dateutil
8475 responses
8576 ] ;
8677
You can’t perform that action at this time.
0 commit comments