gnu: reproc: Improve package style.

* gnu/packages/cpp.scm (reproc)[arguments]: Use G-expressions.
<#:configure-flags>: Remove unnecessary comment.
Enable CMake variable with ON rather than 1.

Change-Id: Ic5e6747e7978a40d1aab66b4c3634342736c0bcf
Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Paul A. Patience 2024-02-09 20:02:12 +00:00 committed by Hilton Chain
parent b18c003c69
commit a1bf3139a0
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1065,11 +1065,9 @@ (define-public reproc
(base32 "09xnf8hmld1fk8j33zwlz1qcxnjdx1ncbg62csic9va4m1wc2v1d")))) (base32 "09xnf8hmld1fk8j33zwlz1qcxnjdx1ncbg62csic9va4m1wc2v1d"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
;; No tests. (list #:tests? #f ; No tests.
`(#:tests? #f #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
;; Build the shared library instead of a static one. "-DREPROC++=ON")))
#:configure-flags `("-DBUILD_SHARED_LIBS=1"
"-DREPROC++=ON")))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(synopsis "Process IO library") (synopsis "Process IO library")