package_add()
def package_add(domain, owner, repo, version)Add a package to the workspace.
The package defintion must exist in the packages repository (the same
repository as this file).
The folders are organized as domain/owner/repo/version.
Example:
load("//@star/packages/star/package.star", "package_add")
package_add("github.com", "ninja", "ninja-build", "v1.12.1")
package_add("github.com", "jqlang", "jq", "jq-1.7.1")Args
domain-strThe domain of the package.owner-strThe owner of the package.repo-strThe repository of the package.version-strThe version of the package.