guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2be5ecb010f8eb7937f7478814a10aa86e37588f
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Feb 9 23:49:55 2026 +0100
gnu: libpwquality: Fix package build on python-3.12.
* gnu/packages/password-utils.scm (libpwquality)
[arguments]: Improve style, use gexps.
[native-inputs]: Improve style, add python-setuptools.
Change-Id: I124701452e3f8e22625aa30f69a51a71cb6827de
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/password-utils.scm | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 7fd4141460..0ffac9234d 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -736,17 +736,15 @@ them out, at the source.")
"1209l7ba51rjsq724hi8my0s11xpslp9hhif9p89jp9hbnviikvg"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'set-LDFLAGS
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (setenv "LDFLAGS"
- (string-append
- "-Wl,-rpath="
- (assoc-ref outputs "out") "/lib"))
- #t)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'set-LDFLAGS
+ (lambda _
+ (setenv "LDFLAGS"
+ (string-append "-Wl,-rpath=" #$output "/lib")))))))
(native-inputs
- `(("python" ,python-wrapper)))
+ (list python-setuptools python-wrapper))
(inputs
(list cracklib))
(synopsis "Password quality checker")