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