znc: add pkg-config test (#434621)

This commit is contained in:
Fernando Rodrigues 2025-08-19 08:11:52 +00:00 committed by GitHub
commit adcb370028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" ];
}; };
}) })