2011-02-12 20:18:53 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, libmatroska
|
|
|
|
, flac
|
|
|
|
, libvorbis
|
|
|
|
, file
|
|
|
|
, boost
|
|
|
|
, xdg_utils
|
|
|
|
, expat
|
|
|
|
, wxGTK
|
|
|
|
, zlib
|
|
|
|
, ruby
|
|
|
|
, gettext
|
2012-06-11 17:40:55 +00:00
|
|
|
, pkgconfig
|
|
|
|
, curl
|
2011-02-12 20:18:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-27 00:54:13 +00:00
|
|
|
version = "7.3.0";
|
2014-08-29 13:06:23 +00:00
|
|
|
name = "mkvtoolnix-${version}";
|
2011-02-12 20:18:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-21 20:05:31 +00:00
|
|
|
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz";
|
2014-10-27 00:54:13 +00:00
|
|
|
sha256 = "086lg64pki6mz00h0a735hgvz4347zbcp3wz384sigqndn99zc1c";
|
2011-02-12 20:18:53 +00:00
|
|
|
};
|
|
|
|
|
2014-08-29 13:06:23 +00:00
|
|
|
buildInputs = [
|
|
|
|
libmatroska flac libvorbis file boost xdg_utils
|
|
|
|
expat wxGTK zlib ruby gettext pkgconfig curl
|
|
|
|
];
|
2011-02-12 20:18:53 +00:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
ruby ./drake
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
ruby ./drake install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2011-02-12 20:22:55 +00:00
|
|
|
description = "Cross-platform tools for Matroska";
|
|
|
|
homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
|
2014-08-29 13:06:23 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2011-02-12 20:18:53 +00:00
|
|
|
};
|
|
|
|
}
|