5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
675 B
Nix
28 lines
675 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libebml";
|
|
version = "1.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Matroska-Org";
|
|
repo = "libebml";
|
|
rev = "release-${version}";
|
|
sha256 = "sha256-PIVBePTWceMgiENdaL9lvXIL/RQIrtg7l0OG2tO0SU8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_SHARED_LIBS=YES"
|
|
"-DCMAKE_INSTALL_PREFIX="
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Extensible Binary Meta Language library";
|
|
homepage = "https://dl.matroska.org/downloads/libebml/";
|
|
license = licenses.lgpl21;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|