blob: 361f53b29bb6e2e5b2056d6a2b9d8ccc2e8bd769 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, tree-sitter
}:
buildPythonPackage rec {
pname = "tree-sitter-html";
version = "0.20.3";
pyproject = true;
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter-html";
rev = "v${version}";
hash = "sha256-sHy3fVWemJod18HCQ8zBC/LpeCCPH0nzhI1wrkCg8nw=";
};
build-system = [
setuptools
];
passthru.optional-dependencies = {
core = [
tree-sitter
];
};
# There are no tests
doCheck = false;
pythonImportsCheck = [ "tree_sitter_html" ];
meta = with lib; {
description = "HTML grammar for tree-sitter";
homepage = "https://github.com/tree-sitter/tree-sitter-html";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}
|