Subject: [PATCH rust-team 2/3] gnu: tree-sitter: Update to 0.22.6.
From: Solomon Victorino <[email-masked]>
To: [email-masked]
Cc: Solomon Victorino <[email-masked]>
Date: Sat, 18 May 2024 13:51:39 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/tree-sitter.scm (tree-sitter): Update to 0.22.6.
* gnu/packages/tree-sitter.scm (tree-sitter-cli)[cargo-inputs]: Add rust-ctrlc-3.
---
 gnu/packages/tree-sitter.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 7515461993..f8df49757b 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -99,16 +99,16 @@ (define-public python-tree-sitter
 (define-public tree-sitter
   (package
     (name "tree-sitter")
-    (version "0.20.10")                 ;untagged
+    (version "0.22.6")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/tree-sitter/tree-sitter")
-                    (commit "0e4ff0bb27edf37b76fc7d35aa768b02cf4392ad")))
+                    (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1bai4gdhf8w5p1i9np2kl2ms0jq6rgq98qpiipipzayb9jjjlxcy"))
+                "0nx3kmvbhjf6nq1pv6x85z67dkk5kagh90w1cwxh0pvg7608l44c"))
               (modules '((guix build utils)))
               (snippet #~(begin
                            ;; Remove bundled ICU parts
@@ -194,6 +194,7 @@ (define-public tree-sitter-cli
         ("rust-anyhow" ,rust-anyhow-1)
         ("rust-atty" ,rust-atty-0.2)
         ("rust-clap" ,rust-clap-2)
+        ("rust-ctrlc" ,rust-ctrlc-3)
         ("rust-difference" ,rust-difference-2)
         ("rust-dirs" ,rust-dirs-3)
         ("rust-html-escape" ,rust-html-escape-0.2)
-- 
2.45.1