ripgrep-all: 1.0.0-alpha.5 -> 0.10.6
Diff: https://github.com/phiresky/ripgrep-all/compare/v1.0.0-alpha.5...v0.10.6 Changelog: https://github.com/phiresky/ripgrep-all/blob/v0.10.6/CHANGELOG.md
This commit is contained in:
parent
c3e128f3c0
commit
41077f6bc6
2 changed files with 492 additions and 469 deletions
pkgs/tools/text/ripgrep-all
938
pkgs/tools/text/ripgrep-all/Cargo.lock
generated
938
pkgs/tools/text/ripgrep-all/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -11,33 +11,44 @@
|
|||
, zip
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
let
|
||||
path = [
|
||||
ffmpeg
|
||||
pandoc
|
||||
poppler_utils
|
||||
ripgrep
|
||||
zip
|
||||
];
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
pname = "ripgrep-all";
|
||||
version = "1.0.0-alpha.5";
|
||||
version = "0.10.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phiresky";
|
||||
repo = pname;
|
||||
repo = "ripgrep-all";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fpDYzn4oAz6GJQef520+Vi2xI09xFjpWdAlFIAVzcoA=";
|
||||
hash = "sha256-ns7RL7kiG72r07LkF6RzShNg8M2SU6tU5+gXDxzUQHM=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"tokio-tar-0.3.1" = "sha256-gp4UM6YV7P9k1FZxt3eVjyC4cK1zvpMjM5CPt2oVBEA=";
|
||||
"tokio-tar-0.3.1" = "sha256-oYXcZepnQyZ13zCvECwNqbXUnov3Y6uJlpkHz1zVpRo=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper poppler_utils ];
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
nativeCheckInputs = path;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/rga \
|
||||
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg pandoc poppler_utils ripgrep zip ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath path}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/phiresky/ripgrep-all/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more";
|
||||
longDescription = ''
|
||||
Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
|
||||
|
|
Loading…
Reference in a new issue