tree-sitter: 0.20.8 -> 0.20.9

This commit is contained in:
Brian Ryall 2024-01-26 09:35:37 -05:00 committed by Ilan Joselevich
parent ac0ae4ba8d
commit b71a98af6c
No known key found for this signature in database
2 changed files with 1941 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,9 +22,8 @@ let
# 2) nix-build -A tree-sitter.updater.update-all-grammars # 2) nix-build -A tree-sitter.updater.update-all-grammars
# 3) Set GITHUB_TOKEN env variable to avoid api rate limit (Use a Personal Access Token from https://github.com/settings/tokens It does not need any permissions) # 3) Set GITHUB_TOKEN env variable to avoid api rate limit (Use a Personal Access Token from https://github.com/settings/tokens It does not need any permissions)
# 4) run the ./result script that is output by that (it updates ./grammars) # 4) run the ./result script that is output by that (it updates ./grammars)
version = "0.20.8"; version = "0.20.9";
sha256 = "sha256-278zU5CLNOwphGBUa4cGwjBqRJ87dhHMzFirZB09gYM="; sha256 = "sha256-NxWqpMNwu5Ajffw1E2q9KS4TgkCH6M+ctFyi9Jp0tqQ=";
cargoSha256 = "sha256-0avy53pmR7CztDrL+5WAmlqpZwd/EA3Fh10hfPXyXZc=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
@ -104,7 +103,10 @@ let
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "tree-sitter"; pname = "tree-sitter";
inherit src version cargoSha256; inherit src version;
cargoLock.lockFile = ./Cargo.lock;
cargoLock.outputHashes."cranelift-bforest-0.102.0" = "sha256-rJeRbRDrAnKb8s98gNn1NTMKuB8B4aOI8Fh6JeLX7as=";
buildInputs = buildInputs =
lib.optionals stdenv.isDarwin [ Security CoreServices ]; lib.optionals stdenv.isDarwin [ Security CoreServices ];