[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v7 17/32] gnu: Add tree-sitter-java.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v7 17/32] gnu: Add tree-sitter-java. |
Date: |
Fri, 25 Nov 2022 01:21:27 +0000 |
* gnu/packages/tree-sitter.scm (tree-sitter-java): New variable.
---
gnu/packages/tree-sitter.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f8edddccc5..1782fa8e19 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -398,3 +398,25 @@ (define-public tree-sitter-html
(description
"This package provides a HTML grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-java
+ (package
+ (name "tree-sitter-java")
+ (version "0.20.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tree-sitter/tree-sitter-java")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1i9zfgqibinz3rkx6yws1wk49iys32x901dki65qihbxcmcfh341"))
+ (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-java")
+ (synopsis "Tree-sitter Java grammar")
+ (description
+ "This package provides a Java grammar for the Tree-sitter library.")
+ (license license:expat)))
--
2.38.1
- [bug#49946] [PATCH v7 13/32] gnu: Add tree-sitter-elm., (continued)
- [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, 2022/11/24
- [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 <=
- [bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 19/32] gnu: Add tree-sitter-json., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 09/32] gnu: Add tree-sitter-bash., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 28/32] gnu: Add rust-tree-sitter., Pierre Langlois, 2022/11/24
- [bug#49946] [PATCH v7 16/32] gnu: Add tree-sitter-html., Pierre Langlois, 2022/11/24