aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-09-01 09:53:44 +0400
committerAndrew Tropin <andrew@trop.in>2023-09-01 23:08:52 +0400
commitfee5c15f11fdf243ffc04ce4d91679bab9877d4b (patch)
treea11516f3adddf761ef6eb5caa999fa60ad85dc94
parent1936f38d6d6e5e16bc20382049cdab0c0cf23e22 (diff)
downloadguix-fee5c15f11fdf243ffc04ce4d91679bab9877d4b.tar.gz
guix-fee5c15f11fdf243ffc04ce4d91679bab9877d4b.zip
gnu: Add tree-sitter-plantuml.
* gnu/packages/tree-sitter.scm (tree-sitter-plantuml): New variable.
-rw-r--r--gnu/packages/tree-sitter.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f81658d8de..58db2603af 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -590,3 +590,20 @@ which will be used as a snippet in origin."
(git-version "0.1.0" revision commit)
#:repository-url "https://github.com/6cdh/tree-sitter-racket"
#:commit commit)))
+
+(define-public tree-sitter-plantuml
+ ;; No tags
+ (let ((commit "bea443ef909484938cb0a9176ebda7b8a3d108f7")
+ (revision "0"))
+ (tree-sitter-grammar
+ "plantuml" "PlantUML"
+ "0swqq4blhlvvgrvsb0h4cjl3pnfmmdpfd5r5kg9rpdwk0sn98x3a"
+ (git-version "1.0.0" revision commit)
+ #:repository-url "https://github.com/Decodetalkers/tree_sitter_plantuml"
+ #:commit commit
+ #:get-cleanup-snippet
+ (lambda _
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file "binding.gyp")
+ (delete-file-recursively "bindings"))))))