summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-13 11:13:56 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:48 +0100
commitb396f3078b208a28b44843421145bccfe84475de (patch)
treec7c2405f66ad167322e873b41720219fc58846c4 /gnu/packages/python-web.scm
parent53b438d37e6a4f168007b3bd29f5961855b172fb (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.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 379aa788f21..a9a3ad08dff 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1277,6 +1277,47 @@ Model} (SAM) templates into AWS CloudFormation templates.")
1277emit information from within their applications to the AWS X-Ray service.") 1277emit information from within their applications to the AWS X-Ray service.")
1278 (license license:asl2.0))) 1278 (license license:asl2.0)))
1279 1279
1280(define-public python-python3-saml
1281 (package
1282 (name "python-python3-saml")
1283 (version "1.16.0")
1284 (source
1285 (origin
1286 (method git-fetch)
1287 (uri (git-reference
1288 (url "https://github.com/SAML-Toolkits/python3-saml")
1289 (commit (string-append "v" version))))
1290 (file-name (git-file-name name version))
1291 (sha256
1292 (base32 "1isisymhk8zblj5942jfl0zq392q5fpjikx52nywvzb0m2dcc81b"))))
1293 (build-system pyproject-build-system)
1294 (arguments
1295 (list
1296 ;; 214 tests pass, 50 fail; many fail because of required Internet
1297 ;; access or because of assumptions about the location of test files.
1298 #:tests? #false
1299 #:phases
1300 #~(modify-phases %standard-phases
1301 ;; FIXME: This should be fixed in python-xmlsec
1302 (add-before 'check 'pre-check
1303 (lambda* (#:key inputs #:allow-other-keys)
1304 (setenv "LD_LIBRARY_PATH"
1305 (dirname (search-input-file inputs "lib/libxmlsec1-openssl.so.1.2.37"))))))))
1306 (propagated-inputs (list python-isodate python-lxml python-xmlsec))
1307 (native-inputs (list python-coverage
1308 python-flake8
1309 python-freezegun
1310 python-poetry-core
1311 python-pytest
1312 python-setuptools
1313 python-wheel))
1314 (home-page "https://github.com/SAML-Toolkits/python3-saml")
1315 (synopsis "Saml Python toolkit")
1316 (description
1317 "The SAML Python Toolkit lets you add SAML support to your Python
1318software.")
1319 (license license:expat)))
1320
1280(define-public python-ovh 1321(define-public python-ovh
1281 (package 1322 (package
1282 (name "python-ovh") 1323 (name "python-ovh")