nixpkgs/pkgs/development/libraries/libebml/default.nix

28 lines
673 B
Nix
Raw Normal View History

2018-07-14 10:44:18 +01:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
stdenv.mkDerivation rec {
2019-03-26 14:56:46 +00:00
pname = "libebml";
2019-12-08 17:55:50 +00:00
version = "1.3.10";
2018-07-14 10:44:18 +01:00
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libebml";
rev = "release-${version}";
2019-12-08 17:55:50 +00:00
sha256 = "1vn0g4hsygrm29qvnzhrblpwjcy2x6swf799ibxv3bzpi1j0gris";
};
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; {
description = "Extensible Binary Meta Language library";
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;
};
}