github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/lua/test-fixtures/rockspec/luasyslog-2.0.1-1.rockspec (about) 1 local package_name = "luasyslog" 2 local package_version = "2.0.1" 3 local rockspec_revision = "1" 4 local github_account_name = "lunarmodules" 5 local github_repo_name = package_name 6 7 8 package = package_name 9 version = package_version.."-"..rockspec_revision 10 source = { 11 url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git", 12 branch = (package_version == "dev") and "main" or nil, 13 tag = (package_version ~= "dev") and package_version or nil, 14 } 15 description = { 16 summary = "Syslog logging for Lua", 17 detailed = [[ 18 Addon for LuaLogging to log to the system log on unix systems. 19 Can also be used without LuaLogging to directly write to syslog. 20 ]], 21 license = "MIT/X11", 22 homepage = "https://github.com/"..github_account_name.."/"..github_repo_name, 23 } 24 dependencies = { 25 "lua >= 5.1", 26 "lualogging >= 1.4.0, < 2.0.0", 27 } 28 build = { 29 type = "builtin", 30 modules = { 31 lsyslog = { 32 sources = "lsyslog.c", 33 }, 34 ["logging.syslog"] = "syslog.lua", 35 } 36 }