[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v4 11/31] gnu: Add tree-sitter-elixir.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v4 11/31] gnu: Add tree-sitter-elixir. |
Date: |
Fri, 18 Feb 2022 14:39:28 +0000 |
* gnu/packages/tree-sitter.scm (tree-sitter-elixir): New variable.
---
gnu/packages/tree-sitter.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 5bb7e7549a..134d2768cf 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -341,3 +341,38 @@ (define-public tree-sitter-css
(description
"This package provides a CSS grammar for the Tree-sitter library.")
(license license:expat)))
+
+(define-public tree-sitter-elixir
+ (let ((commit "de20391afe5cb03ef1e8a8e43167e7b58cc52869")
+ (revision "1"))
+ (package (inherit tree-sitter-c)
+ (name "tree-sitter-elixir")
+ (version (git-version "0.19.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/elixir-lang/tree-sitter-elixir")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0zrkrwhw3g1vazsxcwrfd1fk4wvs9hdwmwp6073mfh370bz4140h"))
+ (modules '((guix build utils)))
+ (snippet tree-sitter-delete-generated-files)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments tree-sitter-c)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'delete-dependencies
+ (lambda _
+ (delete-dependencies '("tree-sitter-cli"
+ "node-gyp"
+ "nan"
+ "prettier"))))))))
+ (home-page "https://elixir-lang.org/tree-sitter-elixir/")
+ (synopsis "Tree-sitter Elixir grammar")
+ (description
+ "This package provides a Elixir grammar for the Tree-sitter library.")
+ (license (list license:asl2.0
+ ;; Files in tests/corpus are under MIT license.
+ license:expat)))))
--
2.34.0
- [bug#49946] [PATCH v4 03/31] gnu: Add rust-spin@0.7., (continued)
- [bug#49946] [PATCH v4 03/31] gnu: Add rust-spin@0.7., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 02/31] gnu: Add rust-html-escape., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 08/31] gnu: Add tree-sitter-bash., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 09/31] gnu: Add tree-sitter-css., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 14/31] gnu: Add tree-sitter-html., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 05/31] gnu: Add tree-sitter-cli., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 04/31] gnu: Add tree-sitter., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 10/31] gnu: Add tree-sitter-c-sharp., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 07/31] gnu: Add tree-sitter-cpp., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 15/31] gnu: Add tree-sitter-java., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 11/31] gnu: Add tree-sitter-elixir.,
Pierre Langlois <=
- [bug#49946] [PATCH v4 12/31] gnu: Add tree-sitter-elm., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 13/31] gnu: Add tree-sitter-go., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 20/31] gnu: Add tree-sitter-php., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 17/31] gnu: Add tree-sitter-json., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 22/31] gnu: Add tree-sitter-ruby., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 18/31] gnu: Add tree-sitter-julia., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 21/31] gnu: Add tree-sitter-python., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 16/31] gnu: Add tree-sitter-javascript., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 23/31] gnu: Add tree-sitter-rust., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 29/31] gnu: Add emacs-tree-sitter-core., Pierre Langlois, 2022/02/18