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:
Cayetano Santos 2025-09-16 15:36:03 +02:00 committed by Liliana Marie Prikler
parent 34374c9d52
commit 1d6ec30232
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2006,24 +2006,26 @@ data inside a GPG encrypted file, which we'll call a coffin.")
(name "xkcdpass") (name "xkcdpass")
(version "1.19.4") (version "1.19.4")
(home-page "https://github.com/redacted/XKCD-password-generator") (home-page "https://github.com/redacted/XKCD-password-generator")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url home-page) (uri (git-reference
(commit (string-append "xkcdpass-" version)))) (url home-page)
(file-name (git-file-name name version)) (commit (string-append "xkcdpass-" version))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6")))) (base32
"1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-after 'install 'install-manpage #~(modify-phases %standard-phases
(lambda* (#:key outputs #:allow-other-keys) (add-after 'install 'install-manpage
(install-file (lambda _
"xkcdpass.1" (install-file
(string-append (assoc-ref outputs "out") "/share/man/man1"))))))) "xkcdpass.1"
(string-append #$output "/share/man/man1")))))))
(synopsis (synopsis
"Generate secure multiword passwords/passphrases, inspired by XKCD") "Generate secure multiword passwords/passphrases, inspired by XKCD")
(description (description