From 291e44ec2e94c6308ee1673629e9bdbad83845b4 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 14 Feb 2023 15:34:48 +0400 Subject: [PATCH] gnu: Add tree-sitter-go. gnu/packages/tree-sitter.scm (tree-sitter-go): New variable. --- gnu/packages/tree-sitter.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 @@ (define-public tree-sitter-elm "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)))