diff options
| author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2023-09-06 18:51:09 +0800 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-14 22:58:59 +0200 |
| commit | c0bfa12666cc6dc706981c76b9ee5c7f9006932d (patch) | |
| tree | 034a947ba8e01006addb03e072fe36d15082f7ff /gnu/packages/code.scm | |
| parent | ca5fae4f26f2f35412a96fe2042883341ca62182 (diff) | |
gnu: uncrustify: use new style and gexp.
* gnu/packages/code.scm (uncrustify): use new style and gexp.
[native-inputs]: remove label.
[arguments]: use gexp and remove tail #t.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index a9e94dab252..b716f32599c 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -805,20 +805,18 @@ independent targets.") | |||
| 805 | (base32 | 805 | (base32 |
| 806 | "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm")))) | 806 | "17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm")))) |
| 807 | (build-system cmake-build-system) | 807 | (build-system cmake-build-system) |
| 808 | (native-inputs | 808 | (native-inputs (list python-wrapper)) |
| 809 | `(("python" ,python-wrapper))) | ||
| 810 | (arguments | 809 | (arguments |
| 811 | `(#:phases | 810 | (list #:phases |
| 812 | (modify-phases %standard-phases | 811 | #~(modify-phases %standard-phases |
| 813 | (add-after 'unpack 'unpack-etc | 812 | (add-after 'unpack 'unpack-etc |
| 814 | (lambda* (#:key inputs outputs #:allow-other-keys) | 813 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 815 | ;; Configuration samples are not installed by default. | 814 | ;; Configuration samples are not installed by default. |
| 816 | (let* ((output (assoc-ref outputs "out")) | 815 | (let* ((output (assoc-ref outputs "out")) |
| 817 | (etcdir (string-append output "/etc"))) | 816 | (etcdir (string-append output "/etc"))) |
| 818 | (for-each (lambda (l) | 817 | (for-each (lambda (l) |
| 819 | (install-file l etcdir)) | 818 | (install-file l etcdir)) |
| 820 | (find-files "etc" "\\.cfg$"))) | 819 | (find-files "etc" "\\.cfg$")))))))) |
| 821 | #t))))) | ||
| 822 | (home-page "https://uncrustify.sourceforge.net/") | 820 | (home-page "https://uncrustify.sourceforge.net/") |
| 823 | (synopsis "Code formatter for C and other related languages") | 821 | (synopsis "Code formatter for C and other related languages") |
| 824 | (description | 822 | (description |
