mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 11:32:21 +02:00
gnu: Add tree-sitter-astro.
* gnu/packages/tree-sitter.scm (tree-sitter-astro): New variable. Change-Id: Ic1738da64ca9175179142cf231f84ac851468dfe Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
committed by
Liliana Marie Prikler
parent
85998e51ae
commit
caf13d4bf4
@@ -320,6 +320,24 @@ which will be used as a snippet in origin."
|
|||||||
"0.24.0"
|
"0.24.0"
|
||||||
#:repository-url "https://github.com/RubixDev/tree-sitter-asm"))
|
#:repository-url "https://github.com/RubixDev/tree-sitter-asm"))
|
||||||
|
|
||||||
|
(define-public tree-sitter-astro
|
||||||
|
(let ((commit "213f6e6973d9b456c6e50e86f19f66877e7ef0ee")
|
||||||
|
(revision "0"))
|
||||||
|
(tree-sitter-grammar
|
||||||
|
"astro" "Astro"
|
||||||
|
"18asz2dsgkq4zj5frxigpzac00pgs4kvbp8l3x27z7yq6vgfr5af"
|
||||||
|
(git-version "0.0.1" revision commit)
|
||||||
|
#:repository-url "https://github.com/virchau13/tree-sitter-astro"
|
||||||
|
#:commit commit
|
||||||
|
#:inputs (delay (list tree-sitter-html))
|
||||||
|
#:get-cleanup-snippet
|
||||||
|
(lambda (grammar-directories)
|
||||||
|
#~(begin
|
||||||
|
(use-modules (guix build utils))
|
||||||
|
(mkdir-p "test/corpus")
|
||||||
|
(copy-recursively "corpus" "test/corpus")
|
||||||
|
#$(tree-sitter-delete-generated-files grammar-directories))))))
|
||||||
|
|
||||||
(define-public tree-sitter-awk
|
(define-public tree-sitter-awk
|
||||||
(tree-sitter-grammar
|
(tree-sitter-grammar
|
||||||
"awk" "AWK"
|
"awk" "AWK"
|
||||||
|
|||||||
Reference in New Issue
Block a user