Loading pkgs/development/python-modules/tree-sitter-make/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, cargo, rustPlatform, rustc, setuptools, }: buildPythonPackage rec { pname = "tree-sitter-make"; version = "1.1.1"; pyproject = true; src = fetchFromGitHub { owner = "tree-sitter-grammars"; repo = "tree-sitter-make"; rev = "v${version}"; hash = "sha256-WiuhAp9JZKLd0wKCui9MV7AYFOW9dCbUp+kkVl1OEz0="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-RI/wBnapWdr4kYshx9d9iN9nB30bR91uQ063yqNy4aA="; }; build-system = [ cargo rustPlatform.cargoSetupHook rustc setuptools ]; # There are no tests doCheck = false; pythonImportsCheck = [ "tree_sitter_make" ]; meta = { description = "Makefile grammar for tree-sitter"; homepage = "https://github.com/tree-sitter-grammars/tree-sitter-make"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16398,6 +16398,8 @@ self: super: with self; { tree-sitter-json = callPackage ../development/python-modules/tree-sitter-json { }; tree-sitter-make = callPackage ../development/python-modules/tree-sitter-make { }; tree-sitter-languages = callPackage ../development/python-modules/tree-sitter-languages { }; treelib = callPackage ../development/python-modules/treelib { }; Loading
pkgs/development/python-modules/tree-sitter-make/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, cargo, rustPlatform, rustc, setuptools, }: buildPythonPackage rec { pname = "tree-sitter-make"; version = "1.1.1"; pyproject = true; src = fetchFromGitHub { owner = "tree-sitter-grammars"; repo = "tree-sitter-make"; rev = "v${version}"; hash = "sha256-WiuhAp9JZKLd0wKCui9MV7AYFOW9dCbUp+kkVl1OEz0="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-RI/wBnapWdr4kYshx9d9iN9nB30bR91uQ063yqNy4aA="; }; build-system = [ cargo rustPlatform.cargoSetupHook rustc setuptools ]; # There are no tests doCheck = false; pythonImportsCheck = [ "tree_sitter_make" ]; meta = { description = "Makefile grammar for tree-sitter"; homepage = "https://github.com/tree-sitter-grammars/tree-sitter-make"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16398,6 +16398,8 @@ self: super: with self; { tree-sitter-json = callPackage ../development/python-modules/tree-sitter-json { }; tree-sitter-make = callPackage ../development/python-modules/tree-sitter-make { }; tree-sitter-languages = callPackage ../development/python-modules/tree-sitter-languages { }; treelib = callPackage ../development/python-modules/treelib { };