github.com/anchore/syft@v1.38.2/syft/pkg/rockspec.go (about) 1 package pkg 2 3 // LuaRocksPackage represents a Lua package managed by the LuaRocks package manager with metadata from .rockspec files. 4 type LuaRocksPackage struct { 5 // Name is the package name as found in the .rockspec file 6 Name string `json:"name"` 7 8 // Version is the package version as found in the .rockspec file 9 Version string `json:"version"` 10 11 // License is license identifier 12 License string `json:"license"` 13 14 // Homepage is project homepage URL 15 Homepage string `json:"homepage"` 16 17 // Description is a human-readable package description 18 Description string `json:"description"` 19 20 // URL is the source download URL 21 URL string `json:"url"` 22 23 // Dependencies are the map of dependency names to version constraints 24 Dependencies map[string]string `json:"dependencies"` 25 }