gnu: pwsafe: Improve style.

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

Change-Id: I154eb62784115b6a6f2785c1b487580d311cbd7f
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Cayetano Santos 2025-09-16 15:59:39 +02:00 committed by Liliana Marie Prikler
parent ffac88cbcf
commit 825d916729
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -465,9 +465,22 @@ in an encrypted database, which is locked with a master key or key file.")
(base32 "064y78sqr8h9mq922spi4r13ga0a1j09mfh4kc4pn7j697nl6b5y"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags #~(list "-DNO_GTEST=YES")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'add-gtest
(lambda _
(chmod "CMakeLists.txt" #o644)
(let ((cmake-port (open-file "CMakeLists.txt" "a")))
(display "find_package(GTest)
add_subdirectory(src/test)\n" cmake-port)
(close cmake-port)))))))
(native-inputs
(list gettext-minimal googletest perl zip))
(inputs (list curl
(inputs
(list curl
file
`(,util-linux "lib")
libxt
@ -476,17 +489,6 @@ in an encrypted database, which is locked with a master key or key file.")
qrencode
wxwidgets
xerces-c))
(arguments '(#:configure-flags (list "-DNO_GTEST=YES")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'add-gtest
(lambda* (#:key inputs #:allow-other-keys)
(chmod "CMakeLists.txt" #o644)
(let ((cmake-port (open-file "CMakeLists.txt"
"a")))
(display "find_package(GTest)
add_subdirectory(src/test)\n" cmake-port)
(close cmake-port)
#t))))))
(synopsis "Password safe with automatic input and key generation")
(description "pwsafe is a password manager originally designed by Bruce
Schneier. It offers a simple UI to manage passwords for different services.