aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libextractor
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-06-07 15:39:09 +0300
committerJon <jonringer@users.noreply.github.com>2020-06-12 11:55:31 -0700
commit01d4e2fe332420684803170597d1b88e9f826303 (patch)
tree0a998e2bf5326595ec4a1fcffad7bfd963760dad /pkgs/development/libraries/libextractor
parent8e1dcea3d575dfd4ecdee336e5b95c093f3017cb (diff)
treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
Diffstat (limited to 'pkgs/development/libraries/libextractor')
-rw-r--r--pkgs/development/libraries/libextractor/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libextractor/default.nix b/pkgs/development/libraries/libextractor/default.nix
index 3db0b056c0f0..f7e9606bbe77 100644
--- a/pkgs/development/libraries/libextractor/default.nix
+++ b/pkgs/development/libraries/libextractor/default.nix
@@ -13,11 +13,11 @@
# '';
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
, gtkSupport ? true, glib ? null, gtk3 ? null
-, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
+, videoSupport ? true, ffmpeg_3 ? null, libmpeg2 ? null}:
assert gstreamerSupport -> gst_all_1 != null && builtins.isList (gstPlugins gst_all_1);
assert gtkSupport -> glib != null && gtk3 != null;
-assert videoSupport -> ffmpeg != null && libmpeg2 != null;
+assert videoSupport -> ffmpeg_3 != null && libmpeg2 != null;
stdenv.mkDerivation rec {
name = "libextractor-1.9";
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optionals gstreamerSupport
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
++ stdenv.lib.optionals gtkSupport [ glib gtk3 ]
- ++ stdenv.lib.optionals videoSupport [ ffmpeg libmpeg2 ];
+ ++ stdenv.lib.optionals videoSupport [ ffmpeg_3 libmpeg2 ];
configureFlags = [
"--disable-ltdl-install"