gnu: fpm2: Improve style.

* gnu/packages/password-utils.scm (fpm2)[arguments]: Use G-Expressions.
[inputs]: Remove labels.

Change-Id: If282ecb31ad47be3c620601bb4d14d9ee646ab23
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Cayetano Santos 2025-09-16 15:53:14 +02:00 committed by Liliana Marie Prikler
parent 9bb5a0294d
commit b0897f8532
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1595,30 +1595,29 @@ is the community-enhanced, \"jumbo\" version of John the Ripper.")
(package (package
(name "fpm2") (name "fpm2")
(version "0.79") (version "0.79")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://als.regnet.cz/fpm2/download/fpm2-" (method url-fetch)
version ".tar.bz2")) (uri (string-append "https://als.regnet.cz/fpm2/download/fpm2-"
(sha256 version ".tar.bz2"))
(base32 (sha256
"19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm")))) (base32
"19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("gtk2" ,gtk+-2)
("gnupg" ,gnupg)
("libxml2" ,libxml2)))
(native-inputs (list pkg-config intltool))
(arguments (arguments
`(#:configure-flags '("CFLAGS=-O2 -g -fcommon") (list
#:phases #:configure-flags
(modify-phases %standard-phases #~(list "CFLAGS=-O2 -g -fcommon")
(add-before 'configure 'pre-configure #:phases
;; The file po/POTFILES.in ends up missing for some reason in #~(modify-phases %standard-phases
;; both nix and guix builds. Adding the file with contents (add-before 'configure 'pre-configure
;; found during troubleshooting. ;; The file po/POTFILES.in ends up missing for some reason in
(lambda _ ;; both nix and guix builds. Adding the file with contents
(call-with-output-file "po/POTFILES.in" ;; found during troubleshooting.
(lambda (port) (lambda _
(format port "data/fpm2.desktop.in (call-with-output-file "po/POTFILES.in"
(lambda (port)
(format port "data/fpm2.desktop.in
data/fpm2.desktop.in.in data/fpm2.desktop.in.in
fpm2.glade fpm2.glade
src/callbacks.c src/callbacks.c
@ -1627,8 +1626,11 @@ src/fpm_file.c
src/interface.c src/interface.c
src/support.c src/support.c
fpm2.glade fpm2.glade
"))) "))))))))
#t))))) (inputs
(list gtk+-2 gnupg libxml2))
(native-inputs
(list pkg-config intltool))
(synopsis "Manage, generate and store passwords encrypted") (synopsis "Manage, generate and store passwords encrypted")
(description "FPM2 is GTK2 port from Figaro's Password Manager (description "FPM2 is GTK2 port from Figaro's Password Manager
originally developed by John Conneely, with some new enhancements. originally developed by John Conneely, with some new enhancements.