diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-01-12 02:07:40 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-01-12 02:07:40 +0300 |
commit | cc17ebdca894cd87a9dac3dd188b371d76539a0e (patch) | |
tree | db2fb0fa0e449569bb8d80a4bea04f7cf1d0f0c6 /pkgs/applications/video | |
parent | ff800b42707f2550567e1b51b44ae5abafbf112e (diff) | |
parent | 29d7fa652523369cd4b999532a625fc878f127f2 (diff) | |
download | nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar.gz nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar.bz2 nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar.lz nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar.xz nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.tar.zst nixlib-cc17ebdca894cd87a9dac3dd188b371d76539a0e.zip |
Merge pull request #5689 from k0ral/mkvtoolnix
Added mkvtoolnix-cli = mkvtoolnix without GUI dependencies.
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mkvtoolnix/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix index 83e9589f165b..df0cb1b81106 100644 --- a/pkgs/applications/video/mkvtoolnix/default.nix +++ b/pkgs/applications/video/mkvtoolnix/default.nix @@ -6,6 +6,7 @@ , boost , xdg_utils , expat +, withGUI ? true , wxGTK , zlib , ruby @@ -14,6 +15,8 @@ , curl }: +assert withGUI -> wxGTK != null; + stdenv.mkDerivation rec { version = "7.5.0"; name = "mkvtoolnix-${version}"; @@ -25,8 +28,8 @@ stdenv.mkDerivation rec { buildInputs = [ libmatroska flac libvorbis file boost xdg_utils - expat wxGTK zlib ruby gettext pkgconfig curl - ]; + expat zlib ruby gettext pkgconfig curl + ] ++ stdenv.lib.optional withGUI wxGTK; configureFlags = "--with-boost-libdir=${boost.lib}/lib"; buildPhase = '' |