libmatroska: add pkg-config test

seth 6d9d1fa6 f28b426a

+7
+7
pkgs/by-name/li/libmatroska/package.nix
··· 5 cmake, 6 libebml, 7 pkg-config, 8 validatePkgConfig, 9 }: 10 11 stdenv.mkDerivation rec { ··· 34 35 cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ]; 36 37 meta = { 38 description = "Library to parse Matroska files"; 39 homepage = "https://matroska.org/"; ··· 41 license = lib.licenses.lgpl21; 42 maintainers = with lib.maintainers; [ getchoo ]; 43 platforms = lib.platforms.unix; 44 }; 45 }
··· 5 cmake, 6 libebml, 7 pkg-config, 8 + testers, 9 validatePkgConfig, 10 + libmatroska, 11 }: 12 13 stdenv.mkDerivation rec { ··· 36 37 cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ]; 38 39 + passthru = { 40 + tests.pkg-config = testers.hasPkgConfigModules { package = libmatroska; }; 41 + }; 42 + 43 meta = { 44 description = "Library to parse Matroska files"; 45 homepage = "https://matroska.org/"; ··· 47 license = lib.licenses.lgpl21; 48 maintainers = with lib.maintainers; [ getchoo ]; 49 platforms = lib.platforms.unix; 50 + pkgConfigModules = [ "libmatroska" ]; 51 }; 52 }