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