2018-07-14 10:44:18 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
|
2011-02-12 20:18:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-07-14 10:44:18 +01:00
|
|
|
name = "libebml-${version}";
|
|
|
|
version = "1.3.6";
|
2011-02-12 20:18:41 +00:00
|
|
|
|
2018-07-14 10:44:18 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Matroska-Org";
|
|
|
|
repo = "libebml";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "0fl8d35ywj9id93yp78qlxy7j81kjri957agq40r420kmwac3dzs";
|
2011-02-12 20:18:41 +00:00
|
|
|
};
|
|
|
|
|
2018-07-14 10:44:18 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DBUILD_SHARED_LIBS=YES"
|
|
|
|
];
|
|
|
|
|
2015-02-28 15:35:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
2011-02-12 20:18:41 +00:00
|
|
|
description = "Extensible Binary Meta Language library";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://dl.matroska.org/downloads/libebml/;
|
2018-07-14 10:44:18 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ spwhitt ];
|
2015-02-28 15:35:52 +00:00
|
|
|
platforms = platforms.unix;
|
2011-02-12 20:18:41 +00:00
|
|
|
};
|
|
|
|
}
|