summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-15 13:25:40 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-20 01:06:36 +0000
commit61a80a6717b16b178d303f8415bd0cc52ce413c1 (patch)
tree6673b183393fc7057d61b90172118e100501593b /gnu/packages
parentf3286e21a6d638896a4bf72707bad1a0c885955f (diff)
gnu: libchewing: Improve style.
* gnu/packages/language.scm (libchewing)[arguments]: Improve style, use G-expressions. Change-Id: I5b77964478b750c796f6c749be341ab6dd477d3b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/language.scm49
1 files changed, 25 insertions, 24 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 08c4fb288d7..4633a1c9eca 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -289,33 +289,34 @@ Random Cage Fighting Birds, Cool Music etc.")
(base32 "0gh64wvrk5pn0fhmpvj1j99d5g7f7697rk96zbkc8l72yjr819z5"))))
(build-system cmake-build-system)
(arguments
- `(#:modules (((guix build cargo-build-system) #:prefix cargo:)
+ (list
+ #:modules '(((guix build cargo-build-system) #:prefix cargo:)
(guix build utils)
(guix build cmake-build-system))
- #:imported-modules ((guix build cmake-build-system)
+ #:imported-modules `((guix build cmake-build-system)
,@%cargo-build-system-modules)
- #:out-of-source? #f ;For the tests.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'prepare-cargo-build-system
- (lambda args
- (for-each
- (lambda (phase)
- (format #t "Running cargo phase: ~a~%" phase)
- (apply (assoc-ref cargo:%standard-phases phase)
- ;; Keep the vendor-dir outside of cmake's directories.
- #:vendor-dir "../guix-vendor"
- #:cargo-target ,(cargo-triplet)
- args))
- '(unpack-rust-crates
- configure
- check-for-pregenerated-files
- patch-cargo-checksums))))
- (add-after 'unpack 'work-around-genkeystroke
- (lambda _
- ;; Remove this phase when we can find ncurses with cmake.
- (substitute* "tests/CMakeLists.txt"
- (("CURSES_FOUND") "FALSE")))))))
+ #:out-of-source? #f ;For the tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-cargo-build-system
+ (lambda args
+ (for-each
+ (lambda (phase)
+ (format #t "Running cargo phase: ~a~%" phase)
+ (apply (assoc-ref cargo:%standard-phases phase)
+ ;; Keep the vendor-dir outside of cmake's directories.
+ #:vendor-dir "../guix-vendor"
+ #:cargo-target #$(cargo-triplet)
+ args))
+ '(unpack-rust-crates
+ configure
+ check-for-pregenerated-files
+ patch-cargo-checksums))))
+ (add-after 'unpack 'work-around-genkeystroke
+ (lambda _
+ ;; Remove this phase when we can find ncurses with cmake.
+ (substitute* "tests/CMakeLists.txt"
+ (("CURSES_FOUND") "FALSE")))))))
(native-inputs
(append
(list rust `(,rust "cargo") )