mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: xkcdpass: Improve style.
* gnu/packages/password-utils.scm (xkcdpass)[arguments]: Use G-Expressions. Change-Id: I787c432218f7addd6d33a0fd025b1acdcac38f61 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
34374c9d52
commit
1d6ec30232
1 changed files with 18 additions and 16 deletions
|
@ -2006,24 +2006,26 @@ data inside a GPG encrypted file, which we'll call a coffin.")
|
|||
(name "xkcdpass")
|
||||
(version "1.19.4")
|
||||
(home-page "https://github.com/redacted/XKCD-password-generator")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url home-page)
|
||||
(commit (string-append "xkcdpass-" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6"))))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url home-page)
|
||||
(commit (string-append "xkcdpass-" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-manpage
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(install-file
|
||||
"xkcdpass.1"
|
||||
(string-append (assoc-ref outputs "out") "/share/man/man1")))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-manpage
|
||||
(lambda _
|
||||
(install-file
|
||||
"xkcdpass.1"
|
||||
(string-append #$output "/share/man/man1")))))))
|
||||
(synopsis
|
||||
"Generate secure multiword passwords/passphrases, inspired by XKCD")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue