gnu: Add tree-sitter-plantuml.

* gnu/packages/tree-sitter.scm (tree-sitter-plantuml): New variable.
This commit is contained in:
Andrew Tropin 2023-09-01 09:53:44 +04:00
parent 1936f38d6d
commit fee5c15f11
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -590,3 +590,20 @@ (define-public tree-sitter-racket
(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"))))))