[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add tree-sitter-plantuml.
From: |
guix-commits |
Subject: |
02/03: gnu: Add tree-sitter-plantuml. |
Date: |
Fri, 1 Sep 2023 15:09:26 -0400 (EDT) |
abcdw pushed a commit to branch master
in repository guix.
commit fee5c15f11fdf243ffc04ce4d91679bab9877d4b
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Fri Sep 1 09:53:44 2023 +0400
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(+)
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"))))))