guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: tree-sitter: Update package style.


From: guix-commits
Subject: 03/07: gnu: tree-sitter: Update package style.
Date: Thu, 9 Feb 2023 08:38:54 -0500 (EST)

abcdw pushed a commit to branch master
in repository guix.

commit 1378bb5348cc0f4bec796ccf1a2632f08e42cb09
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Thu Feb 9 12:33:28 2023 +0400

    gnu: tree-sitter: Update package style.
    
    * gnu/packages/tree-sitter.scm (tree-sitter): Add gexps, remove trailing #t,
    reformat code.
---
 gnu/packages/tree-sitter.scm | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index e6f0b5c71d..b0d4bb1c38 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -40,22 +40,19 @@
                (base32
                 "1nv2a2hr22w8ix71b6rkkxv9rfvhvwlmyql0g6lva9qzj4vy50p4"))
               (modules '((guix build utils)))
-              (snippet '(begin
-                          ;; Remove bundled ICU parts
-                          (delete-file-recursively "lib/src/unicode")
-                          #t))))
+              (snippet #~(begin
+                           ;; Remove bundled ICU parts
+                           (delete-file-recursively "lib/src/unicode")))))
     (build-system gnu-build-system)
     (inputs (list icu4c))
     (arguments
      (list #:phases
-           '(modify-phases %standard-phases
-              (delete 'configure))
+           #~(modify-phases %standard-phases
+               (delete 'configure))
            #:tests? #f ; there are no tests for the runtime library
            #:make-flags
-           #~(list (string-append "PREFIX="
-                                  #$output)
-                   (string-append "CC="
-                                  #$(cc-for-target)))))
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))))
     (home-page "https://tree-sitter.github.io/tree-sitter/";)
     (synopsis "Incremental parsing system for programming tools")
     (description
@@ -73,6 +70,5 @@ Tree-sitter aims to be:
 can be embedded in any application
 @end itemize
 
-This package includes the @code{libtree-sitter} runtime library.
-")
+This package includes the @code{libtree-sitter} runtime library.")
     (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]