nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 18 lines 415 B view raw
1{ 2 lib, 3 runCommand, 4 testers, 5}: 6 7package: 8 9runCommand "check-meta-pkg-config-modules-for-${package.name}" 10 { 11 meta = { 12 description = "Test whether ${package.name} exposes all pkg-config modules ${toString package.meta.pkgConfigModules}"; 13 }; 14 dependsOn = testers.hasPkgConfigModules { inherit package; }; 15 } 16 '' 17 echo "found all of ${toString package.meta.pkgConfigModules}" > "$out" 18 ''