gnu: python-python3-saml: Fix package.

* gnu/packages/python-web.scm (python-python3-saml):
[arguments]<#:phases>: Improve style.
[inputs]: Add xmlsec-openssl.

Change-Id: I99b3f121aa1edc57afda203cc88d8a03c1b2de35
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 17:53:22 +02:00 committed by Sharlatan Hellseher
parent 022ca7dab0
commit 205b92346c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2114,8 +2114,10 @@ Features:
;; 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"))))))))
(let ((lib (search-input-file inputs
"lib/libxmlsec1-openssl.so")))
(setenv "LD_LIBRARY_PATH" (dirname lib))))))))
(inputs (list xmlsec-openssl))
(propagated-inputs (list python-isodate python-lxml python-xmlsec))
(native-inputs (list python-coverage
python-flake8