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

28 lines
672 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation rec {
2019-03-26 15:56:46 +01:00
pname = "libebml";
2020-07-03 23:37:30 +02:00
version = "1.4.0";
2018-07-14 11:44:18 +02:00
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libebml";
rev = "release-${version}";
2020-07-03 23:37:30 +02:00
sha256 = "052v4mjynndj9xgfl4lmlsnx9ai0pah0kjyr5fm34l7gj8vhc5s7";
};
nativeBuildInputs = [ cmake pkg-config ];
2018-07-14 11:44:18 +02:00
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
meta = with lib; {
description = "Extensible Binary Meta Language library";
homepage = "https://dl.matroska.org/downloads/libebml/";
2018-07-14 11:44:18 +02:00
license = licenses.lgpl21;
maintainers = with maintainers; [ spwhitt ];
2015-02-28 16:35:52 +01:00
platforms = platforms.unix;
};
}