Run a builder on a collection of packages.
PackageFilter toPackages(Set<String> packages) => (p) => packages.contains(p.name);