def nuget_deps_helper(frameworks, packages):
    """Convert frameworks and packages into a single list that is consumable by the nuget_fetch deps attribute

    A list item is in the format "<package_name>/<version>:tfm,tfm,tfm".
    For a list of frameworks, we'll just omit the left half of the item.
    """
    res = [",".join(frameworks)]
    for (pkg, tfms) in packages.items():
        res.append(pkg + ":" + ",".join(tfms))
    return res