blob: a18feeba566c94323029e23c1b5719ce821c47a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
tree-sitter,
fetchFromGitHub,
}:
tree-sitter.buildGrammar rec {
version = "0.9.0";
src = fetchFromGitHub {
owner = "cathaysia";
repo = "tree-sitter-asciidoc";
rev = "v${version}";
hash = "sha256-sJlpYTmK3fAlY3K0OBOAxy6Tr6lDJhfr5+taAEHPG50=";
};
homepage = "https://github.com/cathaysia/tree-sitter-asciidoc";
language = "asciidoc_inline";
location = "tree-sitter-asciidoc_inline";
generate = true;
meta = {
inherit homepage;
description = "asciidoc grammar for tree-sitter";
license = lib.licenses.asl20;
changelog = "${homepage}/releases/tag/v${version}";
};
}
|