all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 64905@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>
Subject: [bug#64905] [PATCH v3 9/9] gnu: tree-sitter: Re-indent.
Date: Thu, 10 Aug 2023 14:19:45 +0800	[thread overview]
Message-ID: <50053f6463f4f857fa3610643d97776215a8194d.1691647854.git.hako@ultrarare.space> (raw)
In-Reply-To: <cover.1691647854.git.hako@ultrarare.space>

* gnu/packages/tree-sitter.scm (tree-sitter,tree-sitter-javascript)
(tree-sitter-cpp,tree-sitter-go,tree-sitter-python): Re-indent.
---
 gnu/packages/tree-sitter.scm | 98 ++++++++++++++++++------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index a0d4705f22..9e2307af86 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -96,36 +96,36 @@ (define-public python-tree-sitter
 (define-public tree-sitter
   ;; Untagged
   (let ((commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad"))
-  (package
-    (name "tree-sitter")
-    (version "0.20.10")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/tree-sitter/tree-sitter")
-                    (commit commit)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy"))
-              (modules '((guix build utils)))
-              (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))
-           #:tests? #f ; there are no tests for the runtime library
-           #:make-flags
-           #~(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
-     "Tree-sitter is a parser generator tool and an incremental parsing
+    (package
+      (name "tree-sitter")
+      (version "0.20.10")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tree-sitter/tree-sitter")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy"))
+                (modules '((guix build utils)))
+                (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))
+             #:tests? #f ; there are no tests for the runtime library
+             #:make-flags
+             #~(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
+       "Tree-sitter is a parser generator tool and an incremental parsing
 library.  It can build a concrete syntax tree for a source file and
 efficiently update the syntax tree as the source file is edited.
 
@@ -140,7 +140,7 @@ (define-public tree-sitter
 @end itemize
 
 This package includes the @code{libtree-sitter} runtime library.")
-    (license license:expat))))
+      (license license:expat))))
 
 (define-public tree-sitter-cli
   (package
@@ -317,11 +317,11 @@ (define-public tree-sitter-javascript
   ;; Required by tree-sitter-typescript.
   (let ((commit "7a29d06274b7cf87d643212a433d970b73969016")
         (revision "14"))
-  (tree-sitter-grammar
-   "javascript" "JavaScript(JSX)"
-   "1pk6d9g6a7bzhxmwnvfiycarcgz76wq2rgfqr0xjh7y7swfw5hvw"
-   (git-version "0.20.0" revision commit)
-   #:commit commit)))
+    (tree-sitter-grammar
+     "javascript" "JavaScript(JSX)"
+     "1pk6d9g6a7bzhxmwnvfiycarcgz76wq2rgfqr0xjh7y7swfw5hvw"
+     (git-version "0.20.0" revision commit)
+     #:commit commit)))
 
 (define-public tree-sitter-typescript
   (tree-sitter-grammar
@@ -355,11 +355,11 @@ (define-public tree-sitter-c
    "0.20.5"))
 
 (define-public tree-sitter-cpp
-      (tree-sitter-grammar
-       "cpp" "C++"
-       "0jbkbr93lb20syb39r9vbl10g1xgw8mlnib95k6ibz806a7b6qzl"
-       "0.20.2"
-       #:inputs (list tree-sitter-c)))
+  (tree-sitter-grammar
+   "cpp" "C++"
+   "0jbkbr93lb20syb39r9vbl10g1xgw8mlnib95k6ibz806a7b6qzl"
+   "0.20.2"
+   #:inputs (list tree-sitter-c)))
 
 (define-public tree-sitter-elixir
   ;; No tags at all, version in the source code is 0.19.0
@@ -409,10 +409,10 @@ (define-public tree-sitter-gomod
    #:repository-url "https://github.com/camdencheek/tree-sitter-go-mod.git"))
 
 (define-public tree-sitter-go
-    (tree-sitter-grammar
-     "go" "Go"
-     "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv"
-     "0.20.0"))
+  (tree-sitter-grammar
+   "go" "Go"
+   "0wlhwcdlaj74japyn8wjza0fbwckqwbqv8iyyqdk0a5jf047rdqv"
+   "0.20.0"))
 
 (define-public tree-sitter-haskell
   ;; There are a lot of additions, the last tag was placed more than 4 years ago
@@ -463,10 +463,10 @@ (define-public tree-sitter-php
      #:commit commit)))
 
 (define-public tree-sitter-python
-    (tree-sitter-grammar
-     "python" "Python"
-     "093q200v479j1p8dfjgzlydpzbn2qc1x2pglx9573m9ls4ga004d"
-     "0.20.3"))
+  (tree-sitter-grammar
+   "python" "Python"
+   "093q200v479j1p8dfjgzlydpzbn2qc1x2pglx9573m9ls4ga004d"
+   "0.20.3"))
 
 (define-public tree-sitter-r
   ;; No tags
-- 
2.41.0





  parent reply	other threads:[~2023-08-10  6:23 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 16:49 [bug#64905] [PATCH 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, java, {java, type}script, python}}, Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 01/10] gnu: Add rust-path-slash-0.2 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 02/10] gnu: tree-sitter: Update to 0.20.10 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 03/10] gnu: tree-sitter-c-sharp: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 04/10] gnu: tree-sitter-java: Update to 0.20.1 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 05/10] gnu: tree-sitter-javascript: Update to 0.20.0-14.7a29d06 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 06/10] gnu: tree-sitter-typescript: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 07/10] gnu: tree-sitter-python: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 08/10] gnu: tree-sitter-c: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 09/10] gnu: tree-sitter-go: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-07-27 16:51 ` [bug#64905] [PATCH 10/10] gnu: tree-sitter-cpp: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-07-27 17:16 ` [bug#64905] [PATCH v2 0/8] Update tree-sitter{, -{c{, pp, -sharp}, go, java, {java, type}script, python}}, Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 1/8] gnu: Add rust-path-slash-0.2 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 2/8] gnu: tree-sitter: Update to 0.20.10 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 3/8] gnu: tree-sitter-c-sharp: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 4/8] gnu: tree-sitter-java: Update to 0.20.1 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 5/8] gnu: tree-sitter-typescript: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 6/8] gnu: tree-sitter-python: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 7/8] gnu: tree-sitter-cpp: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-07-27 17:17   ` [bug#64905] [PATCH v2 8/8] gnu: tree-sitter-go: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-08-10  6:17 ` [bug#64905] [PATCH v3 0/9] Update tree-sitter{, -{c{, pp, -sharp}, go, java, {java, type}script, python}}, Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 1/9] gnu: Add rust-path-slash-0.2 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 2/9] gnu: tree-sitter: Update to 0.20.10 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 3/9] gnu: tree-sitter-c-sharp: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 4/9] gnu: tree-sitter-java: Update to 0.20.1 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 5/9] gnu: tree-sitter-typescript: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 6/9] gnu: tree-sitter-python: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 7/9] gnu: tree-sitter-cpp: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` [bug#64905] [PATCH v3 8/9] gnu: tree-sitter-go: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-08-10  6:19   ` Hilton Chain via Guix-patches via [this message]
2023-08-20 13:58 ` [bug#64905] [PATCH v4 00/11] Update tree-sitter{, -{bash, c{, pp, -sharp}, go, java, {java, type}script, python, rust}}, Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 01/11] gnu: Add rust-path-slash-0.2 Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 02/11] gnu: tree-sitter: Update to 0.20.10 Hilton Chain via Guix-patches via
2023-09-27 10:40     ` Christopher Baines
2023-09-29  5:49       ` Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 03/11] gnu: tree-sitter-bash: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 04/11] gnu: tree-sitter-c-sharp: " Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 05/11] gnu: tree-sitter-java: Update to 0.20.1 Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 06/11] gnu: tree-sitter-typescript: Update to 0.20.2 Hilton Chain via Guix-patches via
2023-09-27 10:42     ` Christopher Baines
2023-09-29  5:50       ` Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 07/11] gnu: tree-sitter-python: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 08/11] gnu: tree-sitter-cpp: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-08-20 14:00   ` [bug#64905] [PATCH v4 09/11] gnu: tree-sitter-go: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-08-20 14:01   ` [bug#64905] [PATCH v4 10/11] gnu: tree-sitter-rust: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-08-20 14:01   ` [bug#64905] [PATCH v4 11/11] gnu: tree-sitter: Re-indent Hilton Chain via Guix-patches via
2023-09-27 10:46   ` [bug#64905] [PATCH v4 00/11] Update tree-sitter{, -{bash, c{, pp, -sharp}, go, java, {java, type}script, python, rust}}, Christopher Baines
2023-10-19 15:41 ` [bug#64905] [PATCH v5 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, {java, type}script, python}}, Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 01/10] gnu: tree-sitter: Update to 0.20.10 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 02/10] gnu: tree-sitter-bash: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 03/10] gnu: tree-sitter-c-sharp: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 04/10] gnu: tree-sitter-javascript: Update to 0.20.0-22.f772967 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 05/10] gnu: tree-sitter-typescript: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 06/10] gnu: tree-sitter-python: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 07/10] gnu: tree-sitter-cpp: Update to 0.20.3 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 08/10] gnu: tree-sitter-go: Update to 0.20.0 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 09/10] gnu: tree-sitter-rust: Update to 0.20.4 Hilton Chain via Guix-patches via
2023-10-19 15:44   ` [bug#64905] [PATCH v5 10/10] gnu: tree-sitter: Re-indent Hilton Chain via Guix-patches via
2023-10-20  8:52   ` bug#64905: [PATCH v5 00/10] Update tree-sitter{, -{c{, pp, -sharp}, go, {java, type}script, python}}, Andrew Tropin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50053f6463f4f857fa3610643d97776215a8194d.1691647854.git.hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=64905@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.