[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/17: gnu: libpwquality: Enable Python binding.
From: |
guix-commits |
Subject: |
09/17: gnu: libpwquality: Enable Python binding. |
Date: |
Sun, 18 Oct 2020 18:16:49 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9cd61289055cb7869df1c803c5f1490788e3fcc7
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Oct 12 00:42:19 2020 -0300
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>
---
gnu/packages/password-utils.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 85dbeef..c178c2d 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -381,8 +382,17 @@ them out, at the source.")
"13hw532fmzc5xjpy75d74rlfdlxf2a8ibb4hyy9c0s92wsgf0qsj"))))
(build-system gnu-build-system)
(arguments
- ;; XXX: have RUNPATH issue.
- '(#:configure-flags '("--disable-python-bindings")))
+ `(#: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)))))
+ (native-inputs
+ `(("python" ,python-wrapper)))
(inputs
`(("cracklib" ,cracklib)))
(synopsis "Password quality checker")
- 10/17: gnu: Add passwordsafe., (continued)
- 10/17: gnu: Add passwordsafe., guix-commits, 2020/10/18
- 14/17: gnu: Add python-pyzbar., guix-commits, 2020/10/18
- 15/17: gnu: Add authenticator., guix-commits, 2020/10/18
- 13/17: gnu: Add yoyo-migrations., guix-commits, 2020/10/18
- 17/17: gnu: Add libebur128., guix-commits, 2020/10/18
- 02/17: gnu: llvm.scm: Reorder variables., guix-commits, 2020/10/18
- 07/17: gnu: Add python-grandalf., guix-commits, 2020/10/18
- 08/17: gnu: Add python-pykeepass., guix-commits, 2020/10/18
- 16/17: gnu: Add ccal., guix-commits, 2020/10/18
- 11/17: gnu: Add python-pyfavicon., guix-commits, 2020/10/18
- 09/17: gnu: libpwquality: Enable Python binding.,
guix-commits <=