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

41 lines
770 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 {
2013-04-30 09:16:24 +02:00
name = "mkvtoolnix-6.2.0";
src = fetchurl {
2013-01-21 21:05:31 +01:00
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.xz";
2013-04-30 09:16:24 +02:00
sha256 = "0864vmdcnfwk5cb2fv1y60yvp9kqcyaqxwbvy4nsj7bzwv1iqysn";
};
2013-04-30 09:16:24 +02:00
buildInputs = [ libmatroska flac libvorbis file boost xdg_utils expat wxGTK zlib ruby gettext pkgconfig curl ];
configureFlags = "--with-boost-libdir=${boost}/lib";
buildPhase = ''
ruby ./drake
'';
installPhase = ''
ruby ./drake install
'';
meta = {
description = "Cross-platform tools for Matroska";
homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
};
}