diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-19 14:12:26 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-19 15:36:30 +0200 |
| commit | a7a0a7bf80d43f7c62207c04ae25ebe19382de98 (patch) | |
| tree | 77559d4e2c5a64c84339f0bf501cd2ed9129def5 /gnu | |
| parent | e899b9a20e0dda8e676ba80dbfee3b4e85af2371 (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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/debug.scm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index cbcda4057a7..53c88eebb0f 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm | |||
| @@ -143,19 +143,6 @@ program to exhibit a bug.") | |||
| 143 | (sha256 | 143 | (sha256 |
| 144 | (base32 "0ygzn32mzqn02wslaw1gwgx498mvfgpgkgir3pp1mgd3k18l3pqr")))) | 144 | (base32 "0ygzn32mzqn02wslaw1gwgx498mvfgpgkgir3pp1mgd3k18l3pqr")))) |
| 145 | (build-system gnu-build-system) | 145 | (build-system gnu-build-system) |
| 146 | (native-inputs (list flex)) | ||
| 147 | (inputs | ||
| 148 | `(("astyle" ,astyle) | ||
| 149 | ("bash" ,bash-minimal) ; for wrap-program | ||
| 150 | ("llvm" ,llvm-9) | ||
| 151 | ("clang" ,clang-9) | ||
| 152 | ("indent" ,indent) | ||
| 153 | ("perl" ,perl) | ||
| 154 | ("exporter-lite" ,perl-exporter-lite) | ||
| 155 | ("file-which" ,perl-file-which) | ||
| 156 | ("getopt-tabular" ,perl-getopt-tabular) | ||
| 157 | ("regex-common" ,perl-regexp-common) | ||
| 158 | ("term-readkey" ,perl-term-readkey))) | ||
| 159 | (arguments | 146 | (arguments |
| 160 | (list | 147 | (list |
| 161 | #:phases | 148 | #:phases |
| @@ -171,6 +158,18 @@ program to exhibit a bug.") | |||
| 171 | ;; Tell creduce where to find the perl modules it needs. | 158 | ;; Tell creduce where to find the perl modules it needs. |
| 172 | (wrap-program (string-append #$output "/bin/creduce") | 159 | (wrap-program (string-append #$output "/bin/creduce") |
| 173 | `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))) | 160 | `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))) |
| 161 | (native-inputs (list flex)) | ||
| 162 | (inputs (list astyle | ||
| 163 | bash-minimal ;for wrap-program | ||
| 164 | llvm-9 | ||
| 165 | clang-9 | ||
| 166 | indent | ||
| 167 | perl | ||
| 168 | perl-exporter-lite | ||
| 169 | perl-file-which | ||
| 170 | perl-getopt-tabular | ||
| 171 | perl-regexp-common | ||
| 172 | perl-term-readkey)) | ||
| 174 | (home-page "https://embed.cs.utah.edu/creduce") | 173 | (home-page "https://embed.cs.utah.edu/creduce") |
| 175 | (synopsis "Reducer for interesting code") | 174 | (synopsis "Reducer for interesting code") |
| 176 | (description | 175 | (description |
