gnu: Add rust-tree-sitter-0.20.

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

Change-Id: I672b05681f70213e9372fe9229ff3fe2d2cb9e45
This commit is contained in:
Efraim Flashner 2024-12-24 20:04:42 +02:00
parent 131ef322c3
commit a9c01b983b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -92077,6 +92077,30 @@ (define-public rust-tree-magic-0.2
traversing a filetype tree.")
(license license:expat)))
;; The rust-tree-sitter packages are rust dependencies and are separate
;; from the tree-sitter and tree-sitter-cli package.
(define-public rust-tree-sitter-0.20
(package
(name "rust-tree-sitter")
(version "0.20.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "tree-sitter" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0g9xd1nadhb2ikhxkj0z7kg9f50h97hzmha8llwyscdrnzwv2iz7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
("rust-lazy-static" ,rust-lazy-static-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-treeline-0.1
(package
(name "rust-treeline")