From fee5c15f11fdf243ffc04ce4d91679bab9877d4b Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Fri, 1 Sep 2023 09:53:44 +0400 Subject: gnu: Add tree-sitter-plantuml. * gnu/packages/tree-sitter.scm (tree-sitter-plantuml): New variable. --- gnu/packages/tree-sitter.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu/packages/tree-sitter.scm') 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")))))) -- cgit v1.2.3