saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / tree-sitter-html / default.nix
blob12ca1b6c087dd7ea525d0a4abc205ce58a33631f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   tree-sitter,
7 }:
9 buildPythonPackage rec {
10   pname = "tree-sitter-html";
11   version = "0.23.2";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "tree-sitter";
16     repo = "tree-sitter-html";
17     tag = "v${version}";
18     hash = "sha256-Pd5Me1twLGOrRB3pSMVX9M8VKenTK0896aoLznjNkGo=";
19   };
21   build-system = [
22     setuptools
23   ];
25   optional-dependencies = {
26     core = [
27       tree-sitter
28     ];
29   };
31   # There are no tests
32   doCheck = false;
33   pythonImportsCheck = [ "tree_sitter_html" ];
35   meta = with lib; {
36     description = "HTML grammar for tree-sitter";
37     homepage = "https://github.com/tree-sitter/tree-sitter-html";
38     license = licenses.mit;
39     maintainers = with maintainers; [ doronbehar ];
40   };