summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 16:11:18 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:33 +0400
commit4bdb570c707ac3748f4d7015c214b6dbb2fcbb81 (patch)
tree8a0b3a3d3f138be1186659db8ccfaf4d3e747257
parent429666b60003b6c0317d1a1e7e43e1641b23e20b (diff)
downloadguix-4bdb570c707ac3748f4d7015c214b6dbb2fcbb81.tar.gz
gnu: Add tree-sitter-r.
gnu/packages/tree-sitter.scm (tree-sitter-r): New variable.
-rw-r--r--gnu/packages/tree-sitter.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index eb15bb99ad..a1d7cb819b 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -385,3 +385,13 @@ will be used in description and synopsis."
      "1lv3pgb7h2a0f121897r0lwc228rjwb77y3a6g3ghifx1rgbwvqg"
      (git-version "0.20.0" revision commit)
      #:commit commit)))
+
+(define-public tree-sitter-r
+  ;; No tags
+  (let ((commit "80efda55672d1293aa738f956c7ae384ecdc31b4")
+        (revision "0"))
+    (tree-sitter-grammar
+     "r" "R"
+     "1n7yxi2wf9xj8snw0b85a5w40vhf7x1pwirnwfk78ilr6hhz4ix9"
+     (git-version "0.0.1" revision commit)
+     #:commit commit)))