guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 6ea0f9f3eef942e8144b9d1ffcaff7c27b1e020f
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Sep 15 13:25:40 2025 +0200

    gnu: libchewing: Improve style.
    
    * gnu/packages/language.scm (libchewing)[arguments]: Improve style,
    use G-expressions.
    
    Change-Id: I5b77964478b750c796f6c749be341ab6dd477d3b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/language.scm | 49 ++++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 08c4fb288d..4633a1c9ec 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") )

Reply via email to