summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-19 14:12:26 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-19 15:36:30 +0200
commita7a0a7bf80d43f7c62207c04ae25ebe19382de98 (patch)
tree77559d4e2c5a64c84339f0bf501cd2ed9129def5
parente899b9a20e0dda8e676ba80dbfee3b4e85af2371 (diff)
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>
-rw-r--r--gnu/packages/debug.scm25
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index cbcda4057a..53c88eebb0 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -143,19 +143,6 @@ program to exhibit a bug.")
(sha256
(base32 "0ygzn32mzqn02wslaw1gwgx498mvfgpgkgir3pp1mgd3k18l3pqr"))))
(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
(list
#:phases
@@ -171,6 +158,18 @@ program to exhibit a bug.")
;; Tell creduce where to find the perl modules it needs.
(wrap-program (string-append #$output "/bin/creduce")
`("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")
(synopsis "Reducer for interesting code")
(description