Subject: [PATCH rust-team 05/30] gnu: Add rust-tree-sitter-0.22.

From: Murilo <[email-masked]>
Date: Sun, 24 Nov 2024 23:48:16 -0300

* gnu/packages/crates-io.scm (rust-tree-sitter-0.22): New variable.

Change-Id: Id4fafe97e8b9c72ed9734fc66e3bac27794aec91
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f41b2b3ed..fb495c1cf0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88711,6 +88711,28 @@ (define-public rust-treeline-0.1
      "This package provides a library for visualizing tree structured data.")
     (license license:expat)))
 
+(define-public rust-tree-sitter-0.22
+  (package
+    (name "rust-tree-sitter")
+    (version "0.22.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tree-sitter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jkda5n43m7cxmx2h7l20zxc74nf9v1wpm66gvgxrm5drscw8z6z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-regex" ,rust-regex-1))))
+    (home-page "https://tree-sitter.github.io/tree-sitter/")
+    (synopsis "Rust bindings to the Tree-sitter parsing library")
+    (description
+     "This package provides Rust bindings to the Tree-sitter parsing library.")
+    (license license:expat)))
+
 (define-public rust-triomphe-0.1
   (package
     (name "rust-triomphe")
-- 
2.46.0