mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add tree-sitter-query.
* gnu/packages/tree-sitter.scm (tree-sitter-query): New variable. Change-Id: I1c13d89e25dd43d242d3d96ced443846e556e503 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
8fd05e3980
commit
3467c1c8c6
1 changed files with 11 additions and 0 deletions
|
@ -908,6 +908,17 @@ which will be used as a snippet in origin."
|
|||
"https://github.com/neovim/tree-sitter-vimdoc"
|
||||
#:license license:expat))
|
||||
|
||||
(define-public tree-sitter-query
|
||||
(package
|
||||
(inherit (tree-sitter-grammar "query"
|
||||
"Query"
|
||||
"0fbqwg7km4yqjq8p2fkj9hpy0sfnijnf1hsk34wsirlp3af3hc67"
|
||||
"0.7.0"
|
||||
#:repository-url
|
||||
"https://github.com/tree-sitter-grammars/tree-sitter-query"))
|
||||
(synopsis "Tree-sitter grammar for Tree-sitter's query language")
|
||||
(description "This package provides Tree-sitter's query grammar.")))
|
||||
|
||||
(define* (python-tree-sitter-grammar pkg #:key tests?)
|
||||
"Returns a package for Python bindings of a Tree-sitter grammar. PKG is a
|
||||
package for a Tree-sitter grammar; its name will be used with python- prefix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue