diff --git a/pkgs/by-name/tr/tree-sitter/grammars/grammar-sources.nix b/pkgs/by-name/tr/tree-sitter/grammars/grammar-sources.nix index 4c2bc574d2f8..33c63b820a53 100644 --- a/pkgs/by-name/tr/tree-sitter/grammars/grammar-sources.nix +++ b/pkgs/by-name/tr/tree-sitter/grammars/grammar-sources.nix @@ -813,10 +813,14 @@ }; git-rebase = { - version = "0-unstable-2024-07-22"; + version = "1.0.0"; url = "github:the-mikedavis/tree-sitter-git-rebase"; - rev = "bff4b66b44b020d918d67e2828eada1974a966aa"; - hash = "sha256-k4C7dJUkvQxIxcaoVmG2cBs/CeYzVqrip2+2mRvHtZc="; + hash = "sha256-EV/Ecfzu3jZ5BQynRxn8NJ+lfi9i5ixs+u1e72uZBJA="; + postPatch = '' + # The funding url is empty, which will result in failing tests for the python package + # tree-sitter-grammars.tree-sitter.git-rebase. + jq 'del(.metadata.links.funding)' tree-sitter.json > tree-sitter.json.tmp && mv tree-sitter.json.tmp tree-sitter.json + ''; meta = { license = lib.licenses.mit; maintainers = with lib.maintainers; [