guix-patches
[Top][All Lists]
Advanced

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

[bug#74519] [PATCH v2 rust-team 05/23] gnu: Add rust-tree-sitter-0.22.


From: Murilo
Subject: [bug#74519] [PATCH v2 rust-team 05/23] gnu: Add rust-tree-sitter-0.22.
Date: Fri, 29 Nov 2024 11:36:28 -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 a3ce6948a8..259f63fc92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88807,6 +88807,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






reply via email to

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