Skip to content
Snippets Groups Projects
Commit c2fb2076 authored by Sou Bunnbu (宋文武)'s avatar Sou Bunnbu (宋文武)
Browse files

gnu: Add libpwquality.

* gnu/packages/password-utils.scm (libpwquality): New variable.
parent 72029c8b
No related branches found
No related tags found
No related merge requests found
......@@ -156,3 +156,31 @@ (define-public cracklib
passwd like program. The idea is simple: try to prevent users from choosing
passwords that could be guessed by crack by filtering them out, at source.")
(license license:lgpl2.1)))
(define-public libpwquality
(package
(name "libpwquality")
(version "1.3.0")
(source (origin
(method url-fetch)
(uri (list
(string-append "https://fedorahosted.org/releases/l/i/"
name "/" name "-" version ".tar.bz2")
(string-append "https://launchpad.net/libpwquality/trunk/"
version "/+download/"
name "-" version ".tar.bz2")))
(sha256
(base32
"0aidriag6h0syfm33nzdfdsqgrnsgihwjv3a5lgkqch3w68fmlkl"))))
(build-system gnu-build-system)
(arguments
;; XXX: have RUNPATH issue.
'(#:configure-flags '("--disable-python-bindings")))
(inputs
`(("cracklib" ,cracklib)))
(synopsis "Password quality checker")
(home-page "https://fedorahosted.org/libpwquality/")
(description
"Libpwquality is a library for password quality checking and generation of
random passwords that pass the checks.")
(license license:gpl2+)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment