gnu: pass-otp: Improve style.

* gnu/packages/password-utils.scm (pass-otp)[arguments]: Use
G-Expressions.

Change-Id: I93c5cde9e54bd7b19d76c9c6e9ce8d996420c292
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Cayetano Santos 2025-09-16 16:41:32 +02:00 committed by Liliana Marie Prikler
parent a7b3e9f931
commit 65e33d48d8
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1032,13 +1032,14 @@ from the @code{password-store} package. Files are encrypted with the
"0rrs3iazq80dn0wbl20xkh270428jd8l99m5gd7hl93s4r4sc82p"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
(let* ((out (assoc-ref %outputs "out"))
(bashcomp (string-append out "/etc/bash_completion.d")))
(list (string-append "PREFIX=" %output)
(string-append "BASHCOMPDIR=" bashcomp)))
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
(string-append
"BASHCOMPDIR="
(string-append #$output "/etc/bash_completion.d")))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(delete 'configure)
(add-after 'build 'patch-oath-path
(lambda* (#:key inputs #:allow-other-keys)
@ -1052,10 +1053,10 @@ from the @code{password-store} package. Files are encrypted with the
(("&counter=[$]counter" all)
(format #f "~s" all))))))
#:test-target "test"))
(inputs
(list oath-toolkit))
(native-inputs
(list password-store expect git gnupg which))
(inputs
(list oath-toolkit))
(home-page "https://github.com/tadfisher/pass-otp")
(synopsis "Pass extension for managing one-time-password (OTP) tokens")
(description