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,
|
cmake,
|
||||||
libebml,
|
libebml,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
testers,
|
||||||
validatePkgConfig,
|
validatePkgConfig,
|
||||||
|
libmatroska,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -34,6 +36,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ];
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=YES" ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.pkg-config = testers.hasPkgConfigModules { package = libmatroska; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library to parse Matroska files";
|
description = "Library to parse Matroska files";
|
||||||
homepage = "https://matroska.org/";
|
homepage = "https://matroska.org/";
|
||||||
@ -41,5 +47,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = lib.licenses.lgpl21;
|
license = lib.licenses.lgpl21;
|
||||||
maintainers = with lib.maintainers; [ getchoo ];
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
|
pkgConfigModules = [ "libmatroska" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user