summary refs log tree commit diff
path: root/pkgs/development/libraries/libmatroska/default.nix
blob: 67b9e72895504a8866b2b216752e60bb5a4b5962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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";
  propagatedBuildInputs = [ libebml ];

  meta = {
    description = "Matroska library";
    homepage = http://dl.matroska.org/downloads/libmatroska;
  };
}