mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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 <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
118a044b8e
commit
3d78358847
@@ -768,17 +768,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")
|
||||
|
||||
Reference in New Issue
Block a user