[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v7 14/32] gnu: Add tree-sitter-go.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v7 14/32] gnu: Add tree-sitter-go. |
Date: |
Fri, 25 Nov 2022 01:21:24 +0000 |
* gnu/packages/tree-sitter.scm (tree-sitter-go): New variable.
---
gnu/packages/tree-sitter.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 11548f526b..61d6eba777 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -328,3 +328,27 @@ (define-public tree-sitter-elm
(description
"This package provides an Elm grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-go
+ (let ((commit "05900faa3cdb5d2d8c8bd5e77ee698487e0a8611")
+ (revision "1"))
+ (package
+ (name "tree-sitter-go")
+ (version (git-version "0.19.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tree-sitter/tree-sitter-go")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qymkdi4qcnj8ywmsanb6pdl9zd71cbm6kzl87zk241h7dhkkkvz"))
+ (modules '((guix build utils)))
+ (snippet tree-sitter-delete-generated-files)))
+ (build-system tree-sitter-build-system)
+ (home-page "https://github.com/tree-sitter/tree-sitter-go")
+ (synopsis "Tree-sitter Go grammar")
+ (description
+ "This package provides a Golang grammar for the Tree-sitter library.")
+ (license license:expat))))
--
2.38.1
- [bug#49946] [PATCH v7 08/32] gnu: Add tree-sitter-cpp., (continued)
- [bug#49946] [PATCH v7 10/32] gnu: Add tree-sitter-css., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 07/32] gnu: Add tree-sitter-c., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 05/32] gnu: Add tree-sitter-cli., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 13/32] gnu: Add tree-sitter-elm., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 14/32] gnu: Add tree-sitter-go.,
Pierre Langlois <=
- [bug#49946] [PATCH v7 15/32] gnu: Add tree-sitter-haskell., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 11/32] gnu: Add tree-sitter-c-sharp., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 12/32] gnu: Add tree-sitter-elixir., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 17/32] gnu: Add tree-sitter-java., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript., Pierre Langlois, 2022/11/24