[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript. |
Date: |
Fri, 25 Nov 2022 01:21:28 +0000 |
* gnu/packages/tree-sitter.scm (tree-sitter-javascript): New variable.
---
gnu/packages/tree-sitter.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 1782fa8e19..99fdd2de2c 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -420,3 +420,26 @@ (define-public tree-sitter-java
(description
"This package provides a Java grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-javascript
+ (package
+ (name "tree-sitter-javascript")
+ (version "0.20.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://github.com/tree-sitter/tree-sitter-javascript")
+ (commit (string-append "rust-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "175yrk382n2di0c2xn4gpv8y4n83x1lg4hqn04vabf0yqynlkq67"))
+ (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-javascript")
+ (synopsis "Tree-sitter Javascript grammar")
+ (description
+ "This package provides Javascript and JSX grammars for the Tree-sitter
+library.")
+ (license license:expat)))
--
2.38.1
- [bug#49946] [PATCH v7 14/32] gnu: Add tree-sitter-go., (continued)
- [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, 2022/11/24
- [bug#49946] [PATCH v7 18/32] gnu: Add tree-sitter-javascript.,
Pierre Langlois <=
- [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
- [bug#49946] [PATCH v7 21/32] gnu: Add tree-sitter-ocaml., Pierre Langlois, 2022/11/24