ripgrep-all: use ffmpeg 4

See also #120705. `ffmpeg` is only used to search for metadata and
chapters in video files (such as `.mkv`, `.mp4` etc.). Confirmed that
with both `ffmpeg` versions the same result is provided.
This commit is contained in:
Maximilian Bosch 2021-04-27 09:30:46 +02:00
parent 29823da9a5
commit 971940c996
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, makeWrapper, ffmpeg_3
{ stdenv, lib, fetchFromGitHub, rustPlatform, makeWrapper, ffmpeg
, pandoc, poppler_utils, ripgrep, Security, imagemagick, tesseract
}:
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
wrapProgram $out/bin/rga \
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg_3 pandoc poppler_utils ripgrep imagemagick tesseract ]}"
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg pandoc poppler_utils ripgrep imagemagick tesseract ]}"
'';
# Use upstream's example data to run a couple of queries to ensure the dependencies