guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/25: gnu: Add tree-sitter-go.


From: guix-commits
Subject: 11/25: gnu: Add tree-sitter-go.
Date: Tue, 14 Feb 2023 08:13:54 -0500 (EST)

abcdw pushed a commit to branch master
in repository guix.

commit 291e44ec2e94c6308ee1673629e9bdbad83845b4
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Tue Feb 14 15:34:48 2023 +0400

    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 @@ 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]