linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / libmatroska / default.nix
bloba89bf9fc4ab9fda80a1a645311cc5246e8075ecf
1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
2 , libebml }:
4 stdenv.mkDerivation rec {
5   pname = "libmatroska";
6   version = "1.6.3";
8   src = fetchFromGitHub {
9     owner  = "Matroska-Org";
10     repo   = "libmatroska";
11     rev    = "release-${version}";
12     sha256 = "01dg12ndxfdqgjx5v2qy4mff6xjdxglywyg82sr3if5aw6rp3dji";
13   };
15   nativeBuildInputs = [ cmake pkg-config ];
17   buildInputs = [ libebml ];
19   cmakeFlags = [
20     "-DBUILD_SHARED_LIBS=YES"
21     "-DCMAKE_INSTALL_PREFIX="
22   ];
24   meta = with lib; {
25     description = "A library to parse Matroska files";
26     homepage = "https://matroska.org/";
27     license = licenses.lgpl21;
28     maintainers = with maintainers; [ spwhitt ];
29     platforms = platforms.unix;
30   };