14 stdenv.mkDerivation rec {
15 pname = "libmatroska";
23 src = fetchFromGitHub {
24 owner = "Matroska-Org";
26 rev = "release-${version}";
27 hash = "sha256-hfu3Q1lIyMlWFWUM2Pu70Hie0rlQmua7Kq8kSIWnfHE=";
36 buildInputs = [ libebml ];
38 cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ];
41 tests.pkg-config = testers.hasPkgConfigModules { package = libmatroska; };
42 updateScript = nix-update-script {
51 description = "Library to parse Matroska files";
52 homepage = "https://matroska.org/";
53 changelog = "https://github.com/Matroska-Org/libmatroska/blob/${src.rev}/NEWS.md";
54 license = lib.licenses.lgpl21;
55 maintainers = with lib.maintainers; [ getchoo ];
56 platforms = lib.platforms.unix;
57 pkgConfigModules = [ "libmatroska" ];