znc: add pkg-config test (#434621)
This commit is contained in:
commit
adcb370028
@ -19,6 +19,7 @@
|
|||||||
zlib,
|
zlib,
|
||||||
withIPv6 ? true,
|
withIPv6 ? true,
|
||||||
withDebug ? false,
|
withDebug ? false,
|
||||||
|
testers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@ -66,6 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Advanced IRC bouncer";
|
description = "Advanced IRC bouncer";
|
||||||
homepage = "https://wiki.znc.in/ZNC";
|
homepage = "https://wiki.znc.in/ZNC";
|
||||||
@ -75,5 +80,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
];
|
];
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
|
pkgConfigModules = [ "znc" ];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user