[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v6 05/27] gnu: Add tree-sitter-cpp.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v6 05/27] gnu: Add tree-sitter-cpp. |
Date: |
Sun, 15 May 2022 19:38:12 +0100 |
* gnu/packages/tree-sitter.scm (tree-sitter-cpp): 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 3f07b2d91c..5e25d48c05 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -188,3 +188,26 @@ (define-public tree-sitter-c
(description
"This package provides a C grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-cpp
+ (package
+ (name "tree-sitter-cpp")
+ (version "0.20.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
+ "0hxcpdvyyig8njga1mxp4qcnbbnr1d0aiy27vahijwbh98b081nr"))
+ (modules '((guix build utils)))
+ (snippet tree-sitter-delete-generated-files)))
+ (build-system tree-sitter-build-system)
+ (inputs (list tree-sitter-c))
+ (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.36.0
- [bug#49946] [PATCH v6 00/27] gnu: Add tree-sitter for emacs., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 01/27] gnu: tree-sitter: Move to its own module., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 04/27] gnu: Add tree-sitter-c., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 02/27] gnu: Add tree-sitter-cli., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 08/27] gnu: Add tree-sitter-c-sharp., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 05/27] gnu: Add tree-sitter-cpp.,
Pierre Langlois <=
- [bug#49946] [PATCH v6 07/27] gnu: Add tree-sitter-css., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 06/27] gnu: Add tree-sitter-bash., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 10/27] gnu: Add tree-sitter-elm., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 09/27] gnu: Add tree-sitter-elixir., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 11/27] gnu: Add tree-sitter-go., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 13/27] gnu: Add tree-sitter-java., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 15/27] gnu: Add tree-sitter-json., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 16/27] gnu: Add tree-sitter-julia., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 18/27] gnu: Add tree-sitter-php., Pierre Langlois, 2022/05/15
- [bug#49946] [PATCH v6 12/27] gnu: Add tree-sitter-html., Pierre Langlois, 2022/05/15