24 in rustPlatform.buildRustPackage rec {
25 pname = "ripgrep-all";
28 src = fetchFromGitHub {
32 hash = "sha256-ns7RL7kiG72r07LkF6RzShNg8M2SU6tU5+gXDxzUQHM=";
36 lockFile = ./Cargo.lock;
38 "tokio-tar-0.3.1" = "sha256-oYXcZepnQyZ13zCvECwNqbXUnov3Y6uJlpkHz1zVpRo=";
42 # override debug=true set in Cargo.toml upstream
43 RUSTFLAGS = "-C debuginfo=none";
45 nativeBuildInputs = [ makeWrapper poppler_utils ];
46 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
48 nativeCheckInputs = path;
51 for bin in $out/bin/*; do
53 --prefix PATH ":" "${lib.makeBinPath path}"
58 changelog = "https://github.com/phiresky/ripgrep-all/blob/${src.rev}/CHANGELOG.md";
59 description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more";
61 Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
63 rga is a line-oriented search tool that allows you to look for a regex in
64 a multitude of file types. rga wraps the awesome ripgrep and enables it
65 to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.
67 homepage = "https://github.com/phiresky/ripgrep-all";
68 license = with licenses; [ agpl3Plus ];
69 maintainers = with maintainers; [ zaninime ma27 ];