depot/third_party/nixpkgs/pkgs/development/libraries/libmatroska/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
711 B
Nix

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