summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 15:34:48 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:25 +0400
commit291e44ec2e94c6308ee1673629e9bdbad83845b4 (patch)
tree2f2e1054151c6edbe98b8054018134af8827cc7a /gnu/packages
parent2c988d7ce3feea13875fbeb17251dcd3536e3e7b (diff)
gnu: Add tree-sitter-go.
gnu/packages/tree-sitter.scm (tree-sitter-go): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tree-sitter.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 1e7c6815da..848e746d24 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -320,3 +320,13 @@ will be used in description and synopsis."
"5.6.3"
#:article "an"
#:repository-url "https://github.com/elm-tooling/tree-sitter-elm"))
+
+(define-public tree-sitter-go
+ ;; There are a lot of additions, the last tag was placed more than 1 year ago
+ (let ((commit "64457ea6b73ef5422ed1687178d4545c3e91334a")
+ (revision "0"))
+ (tree-sitter-grammar
+ "go" "Go"
+ "16d32m78y8jricba9xav35c9y0k2r29irj5xyqgq24323yln9jnz"
+ (git-version "0.19.1" revision commit)
+ #:commit commit)))