@mods can be a list of distribution names, module names or module objects, basically anything that parse_module can understand.