nixpkgs/pkgs/applications/video/mkvtoolnix/default.nix

47 lines
911 B
Nix
Raw Normal View History

{ stdenv, fetchurl
, libmatroska
, flac
, libvorbis
, file
, boost
, xdg_utils
, expat
, wxGTK
, zlib
, ruby
, gettext
, pkgconfig
, curl
}:
stdenv.mkDerivation rec {
2015-01-10 12:01:58 +01:00
version = "7.5.0";
2014-08-29 15:06:23 +02:00
name = "mkvtoolnix-${version}";
src = fetchurl {
2013-01-21 21:05:31 +01:00
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz";
2015-01-10 12:01:58 +01:00
sha256 = "0ksv79zcpp34jzs77r02x119c0h2wyvkgckd0bbwjix0qyczgfhp";
};
2014-08-29 15:06:23 +02:00
buildInputs = [
libmatroska flac libvorbis file boost xdg_utils
expat wxGTK zlib ruby gettext pkgconfig curl
];
2014-12-12 15:42:28 +01:00
configureFlags = "--with-boost-libdir=${boost.lib}/lib";
buildPhase = ''
ruby ./drake
'';
installPhase = ''
ruby ./drake install
'';
meta = {
description = "Cross-platform tools for Matroska";
homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
2014-08-29 15:06:23 +02:00
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}