gnu: c-reduce: Improve style.

Migrate to the modern input style.  Also move native-inputs and inputs
after arguments.

* gnu/packages/debug.scm (inputs): Rewrite using the modern style.

Change-Id: Ife16ce6fac01460382b7a82a8f778e629d2c079e
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Nicolas Graves 2025-07-19 14:12:26 +02:00 committed by Andreas Enge
parent e899b9a20e
commit a7a0a7bf80
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -143,19 +143,6 @@ program to exhibit a bug.")
(sha256 (sha256
(base32 "0ygzn32mzqn02wslaw1gwgx498mvfgpgkgir3pp1mgd3k18l3pqr")))) (base32 "0ygzn32mzqn02wslaw1gwgx498mvfgpgkgir3pp1mgd3k18l3pqr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (list flex))
(inputs
`(("astyle" ,astyle)
("bash" ,bash-minimal) ; for wrap-program
("llvm" ,llvm-9)
("clang" ,clang-9)
("indent" ,indent)
("perl" ,perl)
("exporter-lite" ,perl-exporter-lite)
("file-which" ,perl-file-which)
("getopt-tabular" ,perl-getopt-tabular)
("regex-common" ,perl-regexp-common)
("term-readkey" ,perl-term-readkey)))
(arguments (arguments
(list (list
#:phases #:phases
@ -171,6 +158,18 @@ program to exhibit a bug.")
;; Tell creduce where to find the perl modules it needs. ;; Tell creduce where to find the perl modules it needs.
(wrap-program (string-append #$output "/bin/creduce") (wrap-program (string-append #$output "/bin/creduce")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))) `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
(native-inputs (list flex))
(inputs (list astyle
bash-minimal ;for wrap-program
llvm-9
clang-9
indent
perl
perl-exporter-lite
perl-file-which
perl-getopt-tabular
perl-regexp-common
perl-term-readkey))
(home-page "https://embed.cs.utah.edu/creduce") (home-page "https://embed.cs.utah.edu/creduce")
(synopsis "Reducer for interesting code") (synopsis "Reducer for interesting code")
(description (description