mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
ed85acac61
svn path=/nixpkgs/trunk/; revision=25926
40 lines
748 B
Nix
40 lines
748 B
Nix
{ stdenv, fetchurl
|
|
, libmatroska
|
|
, flac
|
|
, libvorbis
|
|
, file
|
|
, boost
|
|
, lzo
|
|
, xdg_utils
|
|
, expat
|
|
, wxGTK
|
|
, zlib
|
|
, ruby
|
|
, gettext
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mkvtoolnix-4.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.bunkus.org/videotools/mkvtoolnix/sources/${name}.tar.bz2";
|
|
sha256 = "0apgmah1d4dh5x1phr4n5vgwmy0w1nym9pydzh4kdgcs167l8n6l";
|
|
};
|
|
|
|
buildInputs = [ libmatroska flac libvorbis file boost lzo xdg_utils expat wxGTK zlib ruby gettext ];
|
|
|
|
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/;
|
|
};
|
|
}
|
|
|