gnu: Add tree-sitter-gomod.

* gnu/packages/tree-sitter.scm (tree-sitter-gomod): New variable.
This commit is contained in:
Danny Milosavljevic 2023-07-09 19:02:36 +02:00
parent e298aabe81
commit 2ba2e80ee6
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -398,6 +398,13 @@ (define-public tree-sitter-elm
#:article "an"
#:repository-url "https://github.com/elm-tooling/tree-sitter-elm"))
(define-public tree-sitter-gomod
(tree-sitter-grammar
"gomod" "Go .mod"
"1hblbi2bs4hlil703myqhvvq2y1x41rc3w903hg2bhbazh7x8yyf"
"1.0.0"
#:repository-url "https://github.com/camdencheek/tree-sitter-go-mod.git"))
(define-public tree-sitter-go
;; There are a lot of additions, the last tag was placed more than 1 year ago
(let ((commit "64457ea6b73ef5422ed1687178d4545c3e91334a")