depot/third_party/nixpkgs/pkgs/development/libraries/libmatroska/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
693 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, libebml }:
stdenv.mkDerivation rec {
pname = "libmatroska";
version = "1.6.2";
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
sha256 = "0yhr9hhgljva1fx3b0r4s3wkkypdfgsysbl35a4g3krkbhaa9rsd";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libebml ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
meta = with lib; {
description = "A library to parse Matroska files";
homepage = "https://matroska.org/";
license = licenses.lgpl21;
maintainers = with maintainers; [ spwhitt ];
platforms = platforms.unix;
};
}