Message ID | 40ee89a3428a615142e5ba1500c80975ac9178eb.1710055565.git.mail@muradm.net |
---|---|
State | New |
Headers | show |
Series | Add difft program. | expand |
close 69701 muradm <mail@muradm.net> writes: > * gnu/packages/crates-io.scm (rust-tree-sitter-0.20): New > variable. > > Change-Id: Ib7a6ddea1b968870c5ede7e91c1273c1be2f8ff7 > --- > 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 7933d9910e..3493fb8ffc 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -73923,6 +73923,28 @@ (define-public rust-tree-magic-0.2 > traversing a filetype tree.") > (license license:expat))) > > +(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 > + `(#:skip-build? #t > + #: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 "Rust bindings to the Tree-sitter parsing > library") > + (license license:expat))) > + > (define-public rust-treeline-0.1 > (package > (name "rust-treeline")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7933d9910e..3493fb8ffc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -73923,6 +73923,28 @@ (define-public rust-tree-magic-0.2 traversing a filetype tree.") (license license:expat))) +(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 + `(#:skip-build? #t + #: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 "Rust bindings to the Tree-sitter parsing library") + (license license:expat))) + (define-public rust-treeline-0.1 (package (name "rust-treeline")