2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
runCommand,
|
|
|
|
testers,
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
package:
|
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
runCommand "check-meta-pkg-config-modules-for-${package.name}"
|
|
|
|
{
|
|
|
|
meta = {
|
|
|
|
description = "Test whether ${package.name} exposes all pkg-config modules ${toString package.meta.pkgConfigModules}";
|
|
|
|
};
|
|
|
|
dependsOn = testers.hasPkgConfigModules { inherit package; };
|
|
|
|
}
|
|
|
|
''
|
|
|
|
echo "found all of ${toString package.meta.pkgConfigModules}" > "$out"
|
|
|
|
''
|