aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 15:57:06 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:30 +0400
commite38833c5928558e104db9f8f4fba69066bf70018 (patch)
tree7b104162f088c98254447259dc6a35ad921a612f
parentf5a2f3883a72f3ee41e6cfaf0a75a55a0baabb1d (diff)
downloadguix-e38833c5928558e104db9f8f4fba69066bf70018.tar
guix-e38833c5928558e104db9f8f4fba69066bf70018.tar.gz
gnu: Add tree-sitter-ocaml.
gnu/packages/tree-sitter.scm (tree-sitter-ocaml): New variable.
-rw-r--r--gnu/packages/tree-sitter.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f7282dd9a7..e9b76733a7 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -358,3 +358,10 @@ will be used in description and synopsis."
"julia" "Julia"
"1pbnmvhy2gq4vg1b0sjzmjm4s2gsgdjh7h01yj8qrrqbcl29c463"
"0.19.0"))
+
+(define-public tree-sitter-ocaml
+ (tree-sitter-grammar
+ "ocaml" "OCaml (.ml and .mli)"
+ "021vnbpzzb4cca3ncd4qhzy583vynhndn3qhwayxrpgdl61m44i6"
+ "0.20.1"
+ #:grammar-directories '("ocaml" "interface")))