2023-02-03 05:49:15 +01:00
|
|
|
{ lib, runCommand, testers }:
|
|
|
|
|
|
|
|
package:
|
|
|
|
|
|
|
|
runCommand "check-meta-pkg-config-modules-for-${package.name}" {
|
|
|
|
meta = {
|
|
|
|
description = "Test whether ${package.name} exposes all pkg-config modules ${toString package.meta.pkgConfigModules}";
|
|
|
|
};
|
2023-09-19 16:11:42 +02:00
|
|
|
dependsOn = testers.hasPkgConfigModules { inherit package; };
|
2023-02-03 05:49:15 +01:00
|
|
|
} ''
|
|
|
|
echo "found all of ${toString package.meta.pkgConfigModules}" > "$out"
|
|
|
|
''
|