diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-13 11:13:56 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:48 +0100 |
commit | b396f3078b208a28b44843421145bccfe84475de (patch) | |
tree | c7c2405f66ad167322e873b41720219fc58846c4 /gnu/packages/python-web.scm | |
parent | 53b438d37e6a4f168007b3bd29f5961855b172fb (diff) |
gnu: Add python-python3-saml.
* gnu/packages/python-web.scm (python-python3-saml): New variable.
Change-Id: I2609fcea5f55372670629fd1ce5641319489feea
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 379aa788f2..a9a3ad08df 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1277,6 +1277,47 @@ Model} (SAM) templates into AWS CloudFormation templates.") emit information from within their applications to the AWS X-Ray service.") (license license:asl2.0))) +(define-public python-python3-saml + (package + (name "python-python3-saml") + (version "1.16.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SAML-Toolkits/python3-saml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1isisymhk8zblj5942jfl0zq392q5fpjikx52nywvzb0m2dcc81b")))) + (build-system pyproject-build-system) + (arguments + (list + ;; 214 tests pass, 50 fail; many fail because of required Internet + ;; access or because of assumptions about the location of test files. + #:tests? #false + #:phases + #~(modify-phases %standard-phases + ;; FIXME: This should be fixed in python-xmlsec + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "LD_LIBRARY_PATH" + (dirname (search-input-file inputs "lib/libxmlsec1-openssl.so.1.2.37")))))))) + (propagated-inputs (list python-isodate python-lxml python-xmlsec)) + (native-inputs (list python-coverage + python-flake8 + python-freezegun + python-poetry-core + python-pytest + python-setuptools + python-wheel)) + (home-page "https://github.com/SAML-Toolkits/python3-saml") + (synopsis "Saml Python toolkit") + (description + "The SAML Python Toolkit lets you add SAML support to your Python +software.") + (license license:expat))) + (define-public python-ovh (package (name "python-ovh") |