Loading pkgs/development/python-modules/tree-sitter-language-pack/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "tree-sitter-language-pack"; version = "0.6.1"; version = "0.7.3"; pyproject = true; # Using the GitHub sources necessitates fetching the treesitter grammar parsers by using a vendored script: Loading @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "tree_sitter_language_pack"; inherit version; hash = "sha256-pGNfW2ubZCVi2QHk6qJfyClJ1mDIi5R1Pm1GfZY0Ark="; hash = "sha256-SROctgfYE1LTOtGOV1IPwQV6AJlVyczO1WYHzBjmo/0="; }; build-system = [ Loading @@ -42,6 +42,12 @@ buildPythonPackage rec { tree-sitter-yaml ]; prePatch = '' # Remove the packaged bindings, which only work on Linux and prevent the build from succeeding # https://github.com/Goldziher/tree-sitter-language-pack/issues/46 rm -rf tree_sitter_language_pack/bindings/*.so ''; pythonImportsCheck = [ "tree_sitter_language_pack" "tree_sitter_language_pack.bindings" Loading Loading
pkgs/development/python-modules/tree-sitter-language-pack/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "tree-sitter-language-pack"; version = "0.6.1"; version = "0.7.3"; pyproject = true; # Using the GitHub sources necessitates fetching the treesitter grammar parsers by using a vendored script: Loading @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "tree_sitter_language_pack"; inherit version; hash = "sha256-pGNfW2ubZCVi2QHk6qJfyClJ1mDIi5R1Pm1GfZY0Ark="; hash = "sha256-SROctgfYE1LTOtGOV1IPwQV6AJlVyczO1WYHzBjmo/0="; }; build-system = [ Loading @@ -42,6 +42,12 @@ buildPythonPackage rec { tree-sitter-yaml ]; prePatch = '' # Remove the packaged bindings, which only work on Linux and prevent the build from succeeding # https://github.com/Goldziher/tree-sitter-language-pack/issues/46 rm -rf tree_sitter_language_pack/bindings/*.so ''; pythonImportsCheck = [ "tree_sitter_language_pack" "tree_sitter_language_pack.bindings" Loading