mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
9bb5a0294d
commit
b0897f8532
1 changed files with 26 additions and 24 deletions
|
@ -1595,30 +1595,29 @@ is the community-enhanced, \"jumbo\" version of John the Ripper.")
|
|||
(package
|
||||
(name "fpm2")
|
||||
(version "0.79")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://als.regnet.cz/fpm2/download/fpm2-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm"))))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://als.regnet.cz/fpm2/download/fpm2-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"19sdy1lygfhkg5nxi2w9a4d9kwvw24nxp0ix0p0lz91qpvk9qpnm"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("gtk2" ,gtk+-2)
|
||||
("gnupg" ,gnupg)
|
||||
("libxml2" ,libxml2)))
|
||||
(native-inputs (list pkg-config intltool))
|
||||
(arguments
|
||||
`(#:configure-flags '("CFLAGS=-O2 -g -fcommon")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'pre-configure
|
||||
;; The file po/POTFILES.in ends up missing for some reason in
|
||||
;; both nix and guix builds. Adding the file with contents
|
||||
;; found during troubleshooting.
|
||||
(lambda _
|
||||
(call-with-output-file "po/POTFILES.in"
|
||||
(lambda (port)
|
||||
(format port "data/fpm2.desktop.in
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "CFLAGS=-O2 -g -fcommon")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'pre-configure
|
||||
;; The file po/POTFILES.in ends up missing for some reason in
|
||||
;; both nix and guix builds. Adding the file with contents
|
||||
;; found during troubleshooting.
|
||||
(lambda _
|
||||
(call-with-output-file "po/POTFILES.in"
|
||||
(lambda (port)
|
||||
(format port "data/fpm2.desktop.in
|
||||
data/fpm2.desktop.in.in
|
||||
fpm2.glade
|
||||
src/callbacks.c
|
||||
|
@ -1627,8 +1626,11 @@ src/fpm_file.c
|
|||
src/interface.c
|
||||
src/support.c
|
||||
fpm2.glade
|
||||
")))
|
||||
#t)))))
|
||||
"))))))))
|
||||
(inputs
|
||||
(list gtk+-2 gnupg libxml2))
|
||||
(native-inputs
|
||||
(list pkg-config intltool))
|
||||
(synopsis "Manage, generate and store passwords encrypted")
|
||||
(description "FPM2 is GTK2 port from Figaro's Password Manager
|
||||
originally developed by John Conneely, with some new enhancements.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue