aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2023-07-09 19:02:36 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2023-07-09 19:02:50 +0200
commit2ba2e80ee6e19f6ab710035445d8e234f100e25d (patch)
tree517546f7b842a019b60396847d2109e3822fa0e4 /gnu/packages
parente298aabe81b8b65f5ef34ad1b7251f1daef3d2b8 (diff)
downloadguix-2ba2e80ee6e19f6ab710035445d8e234f100e25d.tar
guix-2ba2e80ee6e19f6ab710035445d8e234f100e25d.tar.gz
gnu: Add tree-sitter-gomod.
* gnu/packages/tree-sitter.scm (tree-sitter-gomod): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tree-sitter.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 22bf419a71..f7e35a062c 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -398,6 +398,13 @@ will be used in description and synopsis."
#: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")