From 1d6ec30232bde96ec84886585d81e44d64679fcb Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Tue, 16 Sep 2025 15:36:03 +0200 Subject: [PATCH] gnu: xkcdpass: Improve style. * gnu/packages/password-utils.scm (xkcdpass)[arguments]: Use G-Expressions. Change-Id: I787c432218f7addd6d33a0fd025b1acdcac38f61 Signed-off-by: Liliana Marie Prikler --- gnu/packages/password-utils.scm | 34 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index d9710427939ee1213dbca4f183a396292f5b39a5..7b9e157f038b15db63f200a4abc27f2e1bce8ced 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -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