gnu: sent: Apply guix style

* gnu/packages/suckless.scm (sent): Apply `guix style`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Gabriel Wicki 2022-06-21 02:38:40 +02:00 committed by Ludovic Courtès
parent 344ac79873
commit aa2fd99fb1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -520,31 +520,31 @@ point surf to another URI by setting its XProperties.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(delete 'configure) ; no configuration (delete 'configure) ;no configuration
(add-before 'build 'patch-farbfeld (add-before 'build 'patch-farbfeld
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "config.def.h" (substitute* "config.def.h"
(("2ff") (search-input-file inputs "/bin/2ff")))))) (("2ff") (search-input-file inputs "/bin/2ff"))))))
#:tests? #f ; no test suite #:tests? #f ;no test suite
#:make-flags #:make-flags
(let ((pkg-config (lambda (flag) (let ((pkg-config (lambda (flag)
(string-append (string-append "$(shell pkg-config " flag " "
"$(shell pkg-config " flag " " "xft fontconfig x11 libpng)"))))
"xft fontconfig x11 libpng)")))) (list (string-append "CC="
(list (string-append "CC=" ,(cc-for-target)) ,(cc-for-target))
(string-append "PREFIX=" %output) (string-append "PREFIX=" %output)
(string-append "INCS=-I. " (pkg-config "--cflags")) (string-append "INCS=-I. "
(string-append "LIBS=" (pkg-config "--libs") " -lm"))))) (pkg-config "--cflags"))
(native-inputs (string-append "LIBS="
(list pkg-config)) (pkg-config "--libs") " -lm")))))
(inputs (native-inputs (list pkg-config))
`(("farbfeld" ,farbfeld) (inputs `(("farbfeld" ,farbfeld) ("libpng" ,libpng)
("libpng" ,libpng) ("libx11" ,libx11)
("libx11" ,libx11) ("libxft" ,libxft)
("libxft" ,libxft) ("fontconfig" ,fontconfig)))
("fontconfig" ,fontconfig)))
(synopsis "Plain-text presentation tool") (synopsis "Plain-text presentation tool")
(description "Sent uses plain-text files and PNG images to create slideshow (description
"Sent uses plain-text files and PNG images to create slideshow
presentations. Each paragraph represents a slide in the presentation. presentations. Each paragraph represents a slide in the presentation.
Especially for presentations using the Takahashi method this is very nice and Especially for presentations using the Takahashi method this is very nice and
allows you to write down the presentation for a quick lightning talk within a allows you to write down the presentation for a quick lightning talk within a