summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 13:30:13 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:21 +0400
commit4650f8e9bab5e689b8dc46f17960c9d9bdb42771 (patch)
treef3aba580bf0b8b4cabfe2b05a984f0acc59d9230
parentcda1fa50c5572357e2ac5189a5161f9a54f41409 (diff)
downloadguix-4650f8e9bab5e689b8dc46f17960c9d9bdb42771.tar.gz
gnu: Add tree-sitter-elixir.
gnu/packages/tree-sitter.scm (tree-sitter-elixir): New variable.
-rw-r--r--gnu/packages/tree-sitter.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index eecd82fcc9..71a74ae721 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -287,3 +287,16 @@ will be used in description and synopsis."
        (git-version "0.20.0" revision commit)
        #:commit commit
        #:inputs (list tree-sitter-c))))
+
+(define-public tree-sitter-elixir
+  ;; No tags at all, version in the source code is 0.19.0
+  (let ((commit "b20eaa75565243c50be5e35e253d8beb58f45d56")
+        (revision "0"))
+      (tree-sitter-grammar
+       "elixir" "Elixir"
+       "1i0c0xki3sv24649p0ws7xs2jagbwg7z7baz1960239bj94nl487"
+       (git-version "0.19.0" revision commit)
+       #:article "an"
+       #:repository-url "https://github.com/elixir-lang/tree-sitter-elixir"
+       #:commit commit
+       #:license (list license:asl2.0 license:expat))))