ripgrep: 13.0.0 -> 14.0.1

authored by Sandro Jäckel and committed by zowoq 271a11a2 38c39f54

+10 -8
+10 -8
pkgs/tools/text/ripgrep/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 3 , rustPlatform 4 - , asciidoctor 5 4 , installShellFiles 6 5 , pkg-config 7 6 , Security ··· 11 10 12 11 rustPlatform.buildRustPackage rec { 13 12 pname = "ripgrep"; 14 - version = "13.0.0"; 13 + version = "14.0.1"; 15 14 16 15 src = fetchFromGitHub { 17 16 owner = "BurntSushi"; 18 17 repo = pname; 19 18 rev = version; 20 - sha256 = "0pdcjzfi0fclbzmmf701fdizb95iw427vy3m1svy6gdn2zwj3ldr"; 19 + sha256 = "sha256-yVRjOwifxjxuvuwF2d7QCNb7PaT3ELoGP34T2RE1ZVY="; 21 20 }; 22 21 23 - cargoSha256 = "1kfdgh8dra4jxgcdb0lln5wwrimz0dpp33bq3h7jgs8ngaq2a9wp"; 22 + cargoSha256 = "sha256-c4rJYZkAa8vqw3/ccOjGMoyzqq7CVDAMOme9/ORmx9M="; 24 23 25 - nativeBuildInputs = [ asciidoctor installShellFiles ] 24 + nativeBuildInputs = [ installShellFiles ] 26 25 ++ lib.optional withPCRE2 pkg-config; 27 26 buildInputs = lib.optional withPCRE2 pcre2 28 27 ++ lib.optional stdenv.isDarwin Security; ··· 30 29 buildFeatures = lib.optional withPCRE2 "pcre2"; 31 30 32 31 preFixup = '' 33 - installManPage $releaseDir/build/ripgrep-*/out/rg.1 32 + $out/bin/rg --generate man > rg.1 33 + installManPage rg.1 34 34 35 - installShellCompletion $releaseDir/build/ripgrep-*/out/rg.{bash,fish} 36 - installShellCompletion --zsh complete/_rg 35 + installShellCompletion --cmd rg \ 36 + --bash <($out/bin/rg --generate complete-bash) \ 37 + --fish <($out/bin/rg --generate complete-fish) \ 38 + --zsh <($out/bin/rg --generate complete-zsh) 37 39 ''; 38 40 39 41 doInstallCheck = true;