znc: add pkg-config test

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards 2025-08-17 22:54:19 -04:00
parent 1419cc5c51
commit fd0f571037
No known key found for this signature in database
GPG Key ID: D83DC5377393C7E6

View File

@ -19,6 +19,7 @@
zlib,
withIPv6 ? true,
withDebug ? false,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
@ -66,6 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
passthru = {
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = {
description = "Advanced IRC bouncer";
homepage = "https://wiki.znc.in/ZNC";
@ -75,5 +80,6 @@ stdenv.mkDerivation (finalAttrs: {
];
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
pkgConfigModules = [ "znc" ];
};
})