blob: 7f66dd551faff98c9c5cd550f4bc81918ec3dd98 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
tree-sitter,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tree-sitter-markdown";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tree-sitter-grammars";
repo = "tree-sitter-markdown";
tag = "v${version}";
hash = "sha256-IYqh6JT74deu1UU4Nyls9Eg88BvQeYEta2UXZAbuZek=";
};
build-system = [
setuptools
];
optional-dependencies = {
core = [
tree-sitter
];
};
pythonImportsCheck = [ "tree_sitter_markdown" ];
nativeCheckInputs = [
pytestCheckHook
tree-sitter
];
meta = {
description = "Markdown grammar for tree-sitter";
homepage = "https://github.com/tree-sitter-grammars/tree-sitter-markdown";
changelog = "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
GaetanLepage
gepbird
];
};
}
|