mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: libpwquality: Enable Python binding.
* gnu/packages/password-utils.scm (libpwquality)[arguments]: Enable Python binding. [native-inputs]: Add python-wrapper. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
68d425cda8
commit
9cd6128905
1 changed files with 12 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
||||||
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -381,8 +382,17 @@ (define-public libpwquality
|
||||||
"13hw532fmzc5xjpy75d74rlfdlxf2a8ibb4hyy9c0s92wsgf0qsj"))))
|
"13hw532fmzc5xjpy75d74rlfdlxf2a8ibb4hyy9c0s92wsgf0qsj"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: have RUNPATH issue.
|
`(#:phases
|
||||||
'(#:configure-flags '("--disable-python-bindings")))
|
(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)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python" ,python-wrapper)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("cracklib" ,cracklib)))
|
`(("cracklib" ,cracklib)))
|
||||||
(synopsis "Password quality checker")
|
(synopsis "Password quality checker")
|
||||||
|
|
Loading…
Reference in a new issue