1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/development/libraries/libmatroska/default.nix
2015-03-25 22:58:28 -04:00

25 lines
731 B
Nix

{ stdenv, fetchurl, libebml }:
stdenv.mkDerivation rec {
name = "libmatroska-1.4.1";
src = fetchurl {
url = "http://dl.matroska.org/downloads/libmatroska/${name}.tar.bz2";
sha256 = "1dzglkl0hpimld1kahkrrp857hw5pg1r7xxbpnx7jmlj7s3j2vq8";
};
configurePhase = "cd make/linux";
makeFlags = "prefix=$(out) LIBEBML_INCLUDE_DIR=${libebml}/include LIBEBML_LIB_DIR=${libebml}/lib"
+ stdenv.lib.optionalString stdenv.isDarwin " CXX=clang++";
propagatedBuildInputs = [ libebml ];
meta = with stdenv.lib; {
description = "A library to parse Matroska files";
homepage = http://matroska.org/;
license = licenses.lgpl21;
maintainers = [ maintainers.spwhitt ];
platforms = platforms.unix;
};
}