Unverified Commit 1a720434 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

repgrep: 0.16.0 -> 0.16.1 (#406503)

parents 2884b3b1 ac496489
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11,17 +11,17 @@

rustPlatform.buildRustPackage rec {
  pname = "repgrep";
  version = "0.16.0";
  version = "0.16.1";

  src = fetchFromGitHub {
    owner = "acheronfail";
    repo = "repgrep";
    rev = version;
    hash = "sha256-Hg6N5ruf6MTf2/jSmDgaNFWnnaSb8ZCQ6hivYAeadfc=";
    hash = "sha256-hLRl8mKRaufneJNBQqPsH+48ZQGxFBNgulXcaK4/6s4=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-Of0JyAm/XxyfRLBznAHzy701w4fA1d0QMQqOjqIzG00=";
  cargoHash = "sha256-ALp6BQNWpylHPBeLs/4hugN1ulCdctOmgu55Lmt8wjI=";

  nativeBuildInputs = [
    asciidoctor
@@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec {
      popd
    ''
    + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
      # As it can be seen here: https://github.com/acheronfail/repgrep/blob/0.16.0/.github/workflows/release.yml#L206, the completions are just the same as ripgrep
      # As it can be seen here: https://github.com/acheronfail/repgrep/blob/0.16.1/.github/workflows/release.yml#L206, the completions are just the same as ripgrep
      installShellCompletion --cmd rgr \
        --bash <(${lib.getExe ripgrep} --generate complete-bash | sed 's/-c rg/-c rgr/') \
        --zsh <(${lib.getExe ripgrep} --generate complete-zsh | sed 's/-c rg/-c rgr/') \