mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
libmatroska: add pkg-config test
This commit is contained in:
parent
f28b426a21
commit
6d9d1fa6f2
@ -5,7 +5,9 @@
|
||||
cmake,
|
||||
libebml,
|
||||
pkg-config,
|
||||
testers,
|
||||
validatePkgConfig,
|
||||
libmatroska,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -34,6 +36,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ];
|
||||
|
||||
passthru = {
|
||||
tests.pkg-config = testers.hasPkgConfigModules { package = libmatroska; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Library to parse Matroska files";
|
||||
homepage = "https://matroska.org/";
|
||||
@ -41,5 +47,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
platforms = lib.platforms.unix;
|
||||
pkgConfigModules = [ "libmatroska" ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user