me
/
guix
Archived
1
0
Fork 0

gnu: Add tree-sitter-erlang.

* gnu/packages/tree-sitter.scm (tree-sitter-erlang): New variable.

Change-Id: Ib1449549249816736bf30a1d419a23fd7a45570e

Change-Id: I99cdde6418e04d4898f0f6509d2e7d849e2a4f22
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
master
Karl Hallsby 2024-05-10 11:26:48 -05:00 committed by Zheng Junjie
parent 6b6ad68559
commit b23aa4c1d6
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 12 additions and 0 deletions

View File

@ -434,6 +434,18 @@ which will be used as a snippet in origin."
"0.1.2" "0.1.2"
#:repository-url "https://github.com/camdencheek/tree-sitter-dockerfile")) #:repository-url "https://github.com/camdencheek/tree-sitter-dockerfile"))
(define-public tree-sitter-erlang
;; Versions newer than 0.4.0 use tree-sitter 0.22.1
(let ((version "0.4.0") ; In Cargo.toml, but untagged
(commit "57e69513efd831f9cc8207d65d96bad917ca4aa4")
(revision "0"))
(tree-sitter-grammar
"erlang" "Erlang"
"1h0c9qc6i0kz5a0yq68xp623f84g4mc8hcp00khdbf7y7z7b9izc"
(git-version version revision commit)
#:repository-url "https://github.com/WhatsApp/tree-sitter-erlang"
#:commit commit)))
(define-public tree-sitter-elm (define-public tree-sitter-elm
(tree-sitter-grammar (tree-sitter-grammar
"elm" "Elm" "elm" "Elm"