[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp. |
Date: |
Sun, 29 Aug 2021 11:45:48 +0100 |
* gnu/packages/tree-sitter.scm (tree-sitter-cpp): 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 bc04a4a5a7..07bdb54627 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -191,3 +191,27 @@ This package includes the @command{tree-sitter}
command-line tool.")
(description
"This package provides a C grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-cpp
+ (package (inherit tree-sitter-c)
+ (name "tree-sitter-cpp")
+ (version "0.19.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tree-sitter/tree-sitter-cpp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08ywv6n80sa541rr08bqz4zyg7byvjcabp68lvxmcahjk8xzcgwk"))))
+ (native-inputs
+ `(("tree-sitter-cli" ,tree-sitter-cli)
+ ("tree-sitter-c" ,tree-sitter-c)
+ ("node-nan" ,node-nan)))
+ (home-page "https://github.com/tree-sitter/tree-sitter-cpp")
+ (synopsis "Tree-sitter C++ grammar")
+ (description
+ "This package provides a C++ grammar for the Tree-sitter library.")
+ (license license:expat)))
--
2.33.0
- [bug#49946] [PATCH 04/31] gnu: Add rust-smallbitvec., (continued)
- [bug#49946] [PATCH 03/31] gnu: Add rust-html-escape., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 06/31] gnu: rust-spin: Update to 0.7., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 07/31] gnu: Add tree-sitter., Pierre Langlois, 2021/08/08
- [bug#49946] [PATCH 07/31] gnu: Add tree-sitter., Pierre Langlois, 2021/08/13
- [bug#49946] [PATCH v2 00/33] gnu: Add tree-sitter., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 01/33] gnu: rust-chunked-transfer: Update to 1.4.0., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 13/33] gnu: Add tree-sitter-cpp.,
Pierre Langlois <=
- [bug#49946] [PATCH v2 04/33] gnu: Add rust-smallbitvec., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 18/33] gnu: Add tree-sitter-java., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 20/33] gnu: Add tree-sitter-json., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 10/33] guix: node-build-system: Support compiling addons with node-gyp., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 06/33] gnu: rust-spin: Update to 0.7., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 03/33] gnu: Add rust-html-escape., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 14/33] gnu: Add tree-sitter-bash., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 15/33] gnu: Add tree-sitter-css., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 07/33] gnu: Add tree-sitter., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 27/33] gnu: Add rust-tree-sitter., Pierre Langlois, 2021/08/29