summary refs log tree commit diff
path: root/pkgs/development/libraries/libextractor
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-12-16 22:05:09 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-12-16 22:06:32 +0100
commit3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64 (patch)
tree97053191348fd693ec43919e9434b74900950c6d /pkgs/development/libraries/libextractor
parentc01a28d0216dfa7d60cca2dfd90eb9771882241d (diff)
downloadnixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar.gz
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar.bz2
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar.lz
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar.xz
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.tar.zst
nixpkgs-3d7b9b03568d1a9e08a08b13c9ac945bd43e8e64.zip
libextractor: cleanup
Diffstat (limited to 'pkgs/development/libraries/libextractor')
-rw-r--r--pkgs/development/libraries/libextractor/default.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libextractor/default.nix b/pkgs/development/libraries/libextractor/default.nix
index 29762e231f2..3df4a8f91e3 100644
--- a/pkgs/development/libraries/libextractor/default.nix
+++ b/pkgs/development/libraries/libextractor/default.nix
@@ -1,7 +1,7 @@
 { fetchurl, lib, stdenv, substituteAll
 , libtool, gettext, zlib, bzip2, flac, libvorbis
 , exiv2, libgsf, rpm, pkg-config
-, gstreamerSupport ? true, gst_all_1 ? null
+, gstreamerSupport ? true, gst_all_1
 # ^ Needed e.g. for proper id3 and FLAC support.
 #   Set to `false` to decrease package closure size by about 87 MB (53%).
 , gstPlugins ? (gst: [ gst.gst-plugins-base gst.gst-plugins-good ])
@@ -12,12 +12,9 @@
 #   wrapProgram $out/bin/extract --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
 # '';
 # See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
-, gtkSupport ? true, glib ? null, gtk3 ? null
-, videoSupport ? true, ffmpeg ? 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;
+, gtkSupport ? true, glib, gtk3
+, videoSupport ? true, ffmpeg, libmpeg2
+}:
 
 stdenv.mkDerivation rec {
   pname = "libextractor";