Commit aeb3a380 authored by Matthieu Coudron's avatar Matthieu Coudron Committed by Matthieu Coudron
Browse files

tree-sitter: 0.20.7 -> 0.20.8

0.20.8 will be required by neovim 0.9 so this is a preliminary bump
parent 5c04ea5c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
, Security
, callPackage
, linkFarm

, CoreServices
, enableShared ? !stdenv.hostPlatform.isStatic
, enableStatic ? stdenv.hostPlatform.isStatic
, webUISupport ? false
@@ -29,9 +29,9 @@ let
  # 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)
  # 4) run the ./result script that is output by that (it updates ./grammars)
  version = "0.20.7";
  sha256 = "sha256-5ILiN5EfJ7WpeYBiXynfcLucdp8zmxVOj4gLkaFQYts=";
  cargoSha256 = "sha256-V4frCaU5QzTx3ujdaplw7vNkosbzyXHQvE+T7ntVOtU=";
  version = "0.20.8";
  sha256 = "sha256-278zU5CLNOwphGBUa4cGwjBqRJ87dhHMzFirZB09gYM=";
  cargoSha256 = "sha256-0avy53pmR7CztDrL+5WAmlqpZwd/EA3Fh10hfPXyXZc=";

  src = fetchFromGitHub {
    owner = "tree-sitter";
@@ -111,7 +111,7 @@ rustPlatform.buildRustPackage {
  inherit src version cargoSha256;

  buildInputs =
    lib.optionals stdenv.isDarwin [ Security ];
    lib.optionals stdenv.isDarwin [ Security CoreServices];
  nativeBuildInputs =
    [ which ]
    ++ lib.optionals webUISupport [ emscripten ];
+1 −1
Original line number Diff line number Diff line
@@ -19014,7 +19014,7 @@ with pkgs;
  travis = callPackage ../development/tools/misc/travis { };
  tree-sitter = makeOverridable (callPackage ../development/tools/parsing/tree-sitter) {
    inherit (darwin.apple_sdk.frameworks) Security;
    inherit (darwin.apple_sdk.frameworks) Security CoreServices;
  };
  tree-sitter-grammars = recurseIntoAttrs tree-sitter.builtGrammars;