[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/19: gnu: uncrustify: use new style and gexp.
From: |
guix-commits |
Subject: |
04/19: gnu: uncrustify: use new style and gexp. |
Date: |
Thu, 14 Sep 2023 17:45:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c0bfa12666cc6dc706981c76b9ee5c7f9006932d
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Sep 6 18:51:09 2023 +0800
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>
---
gnu/packages/code.scm | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a9e94dab25..b716f32599 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -805,20 +805,18 @@ independent targets.")
(base32
"17x9p5pqgzjchi9xhskp4kq7ag4chmsgbkvwym5m2b9zwm6qykpm"))))
(build-system cmake-build-system)
- (native-inputs
- `(("python" ,python-wrapper)))
+ (native-inputs (list python-wrapper))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'unpack-etc
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Configuration samples are not installed by default.
- (let* ((output (assoc-ref outputs "out"))
- (etcdir (string-append output "/etc")))
- (for-each (lambda (l)
- (install-file l etcdir))
- (find-files "etc" "\\.cfg$")))
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'unpack-etc
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Configuration samples are not installed by default.
+ (let* ((output (assoc-ref outputs "out"))
+ (etcdir (string-append output "/etc")))
+ (for-each (lambda (l)
+ (install-file l etcdir))
+ (find-files "etc" "\\.cfg$"))))))))
(home-page "https://uncrustify.sourceforge.net/")
(synopsis "Code formatter for C and other related languages")
(description
- branch master updated (6d12c16299 -> 1149cc1b9f), guix-commits, 2023/09/14
- 05/19: gnu: dpf-plugins: Update to 1.7., guix-commits, 2023/09/14
- 14/19: gnu: libftdi: Build ftdi_eeprom., guix-commits, 2023/09/14
- 09/19: gnu: icewm: Update to 3.4.1, guix-commits, 2023/09/14
- 12/19: gnu: libftdi: Do not build example programs., guix-commits, 2023/09/14
- 16/19: gnu: libftdi: Build Python bindings., guix-commits, 2023/09/14
- 02/19: gnu: makefile2graph: fix cross-compile., guix-commits, 2023/09/14
- 03/19: gnu: uncrustify: Update to 0.77.1., guix-commits, 2023/09/14
- 01/19: gnu: openmpi: Enable PMIx., guix-commits, 2023/09/14
- 04/19: gnu: uncrustify: use new style and gexp.,
guix-commits <=
- 08/19: gnu: armagetronad: Update to 0.2.9.1.1., guix-commits, 2023/09/14
- 07/19: gnu: kwin: Unwrap executable name for desktop file search., guix-commits, 2023/09/14
- 10/19: gnu: libftdi: Update package style., guix-commits, 2023/09/14
- 19/19: gnu: go-ipfs: Update to 0.13.0., guix-commits, 2023/09/14
- 06/19: gnu: nanosvg: Add a patch for PrusaSlicer 2.6., guix-commits, 2023/09/14
- 15/19: gnu: libftdi: Build C++ bindings., guix-commits, 2023/09/14
- 18/19: gnu: libftdi: Build API documentation., guix-commits, 2023/09/14
- 13/19: gnu: libftdi: Install libraries to /lib instead of /lib64., guix-commits, 2023/09/14
- 17/19: gnu: libftdi: Update to 1.5., guix-commits, 2023/09/14
- 11/19: gnu: libftdi: Use HTTPS for package source., guix-commits, 2023/09/14