gnu: libsigrokdecode: Improve style.

* gnu/packages/electronics.scm (libsigrokdecode)[arguments]: Use G-Expressions.

Change-Id: I6f8eb96d7b8ca196932d18bcb4fbccf96a758b7d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Cayetano Santos 2025-08-26 21:00:16 +02:00 committed by Ludovic Courtès
parent b5f1e3671c
commit 44a5f936a3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -289,18 +289,18 @@ supported devices, as well as input/output file format support.")
"11l8vnf2khqbaqas7cfnq3f8q5w7am6nbkkd5mqj5kpb3ya2avb9")))) "11l8vnf2khqbaqas7cfnq3f8q5w7am6nbkkd5mqj5kpb3ya2avb9"))))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'build 'build-doc (add-after 'build 'build-doc
(lambda _ (lambda _
(invoke "doxygen") (invoke "doxygen")))
#t))
(add-after 'install 'install-doc (add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(copy-recursively "doxy/html-api" (copy-recursively
(string-append (assoc-ref outputs "doc") "doxy/html-api"
"/share/doc/libsigrokdecode")) (string-append #$output:doc
#t))))) "/share/doc/libsigrokdecode")))))))
(native-inputs (native-inputs
(list check doxygen graphviz pkg-config automake autoconf libtool)) (list check doxygen graphviz pkg-config automake autoconf libtool))
;; libsigrokdecode.pc lists "python" in Requires.private, and "glib" in ;; libsigrokdecode.pc lists "python" in Requires.private, and "glib" in