| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 |
|
| 22 | (define-module (gnu packages gnu-pw-mgr)
|
| 23 | #:use-module (guix packages)
|
| 24 | #:use-module (guix licenses)
|
| 25 | #:use-module (guix download)
|
| 26 | #:use-module (guix build-system gnu)
|
| 27 | #:use-module (gnu packages)
|
| 28 | #:use-module (gnu packages base)
|
| 29 | #:use-module (gnu packages autogen))
|
| 30 |
|
| 31 | (define-public gnu-pw-mgr
|
| 32 | (package
|
| 33 | (name "gnu-pw-mgr")
|
| 34 | (version "2.7.4")
|
| 35 | (source
|
| 36 | (origin
|
| 37 | (method url-fetch)
|
| 38 | (uri (string-append "mirror://gnu/gnu-pw-mgr/gnu-pw-mgr-"
|
| 39 | version ".tar.xz"))
|
| 40 | (sha256
|
| 41 | (base32 "0fhwvsmsqpw0vnivarfg63l8pgwqfv7d5wi6l80jpb41dj6qpjz8"))))
|
| 42 | (build-system gnu-build-system)
|
| 43 | (arguments
|
| 44 | '(#:phases
|
| 45 | (modify-phases %standard-phases
|
| 46 | (add-after 'patch-source-shebangs 'patch-more-shebangs
|
| 47 | (lambda _
|
| 48 | (substitute* "tests/dom.test"
|
| 49 | (("/usr/bin/printf") (which "printf")))
|
| 50 | #t))
|
| 51 | (add-before 'check 'pre-check
|
| 52 | (lambda _
|
| 53 | |
| 54 | (substitute* "tests/base.test"
|
| 55 | (("/dev/tty") "/dev/null"))
|
| 56 | #t)))))
|
| 57 | (native-inputs
|
| 58 | (list which))
|
| 59 | (home-page "https://www.gnu.org/software/gnu-pw-mgr/")
|
| 60 | (synopsis "Retrieve login credentials without recording passwords")
|
| 61 | (description
|
| 62 | "This program is designed to make it easy to reconstruct difficult
|
| 63 | passwords when they are needed while limiting the risk of attack. The
|
| 64 | user of this program inputs a self-defined transformation of a web
|
| 65 | site URL and obtains the password and user name hint for that web
|
| 66 | site.")
|
| 67 | (license gpl3+)))
|