libmatroska: 1.4.8 -> 1.4.9

This commit is contained in:
Peter Hoeg 2018-07-14 17:44:44 +08:00
parent 88b8186b13
commit 85f44394a1

View File

@ -1,23 +1,30 @@
{ stdenv, fetchurl, pkgconfig, libebml }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, libebml }:
stdenv.mkDerivation rec {
name = "libmatroska-1.4.8";
name = "libmatroska-${version}";
version = "1.4.9";
src = fetchurl {
url = "https://dl.matroska.org/downloads/libmatroska/${name}.tar.xz";
sha256 = "14n9sw974prr3yp4yjb7aadi6x2yz5a0hjw8fs3qigy5shh2piyq";
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
sha256 = "1hfrcpvmyqnvdkw8rz1z20zw7fpnjyl5h0g9ky7k6y1a44b1fz86";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libebml ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
meta = with stdenv.lib; {
description = "A library to parse Matroska files";
homepage = https://matroska.org/;
license = licenses.lgpl21;
maintainers = [ maintainers.spwhitt ];
maintainers = with maintainers; [ spwhitt ];
platforms = platforms.unix;
};
}