forked from vladfedin/lua-Spore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rockspec.in
72 lines (71 loc) · 3.51 KB
/
rockspec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package = 'lua-Spore'
version = '@version@-@rev@'
source = {
url = 'https://framagit.org/fperrad/lua-Spore/raw/releases/lua-spore-@[email protected]',
md5 = '@md5@',
dir = 'lua-Spore-@version@',
}
description = {
summary = "a generic ReST client",
detailed = [[
lua-Spore is an implementation of SPORE (Specification to a POrtable Rest Environment),
see http://github.com/SPORE/specifications.
Some specifications of service are available at
http://github.com/SPORE/api-description.
]],
homepage = 'https://fperrad.frama.io/lua-Spore/',
maintainer = 'Francois Perrad',
license = 'MIT/X11'
}
dependencies = {
'lua >= 5.1',
'luasocket >= 2.0.2',
-- 'luasec >= 0.4', -- libssl-dev
'luajson >= 1.3',
-- 'luaexpat >= 1.1.0', -- libexpat1-dev
-- 'lyaml >= 5', -- libyaml-dev
-- 'lualogging >= 1.1.4',
-- 'luacrypto >= 0.2.0',
-- 'lua-testmore >= 0.3.0', -- test only
-- 'lua-testlongstring >= 0.2.0', -- test only
}
build = {
type = 'builtin',
modules = {
['Spore'] = 'src/Spore.lua',
['Spore.Core'] = 'src/Spore/Core.lua',
['Spore.GoogleDiscovery'] = 'src/Spore/GoogleDiscovery.lua',
['Spore.Middleware.Auth.AWS'] = 'src/Spore/Middleware/Auth/AWS.lua',
['Spore.Middleware.Auth.Basic'] = 'src/Spore/Middleware/Auth/Basic.lua',
['Spore.Middleware.Auth.Bearer'] = 'src/Spore/Middleware/Auth/Bearer.lua',
['Spore.Middleware.Auth.DataPublica'] = 'src/Spore/Middleware/Auth/DataPublica.lua',
['Spore.Middleware.Auth.Digest'] = 'src/Spore/Middleware/Auth/Digest.lua',
['Spore.Middleware.Auth.OAuth'] = 'src/Spore/Middleware/Auth/OAuth.lua',
['Spore.Middleware.Cache'] = 'src/Spore/Middleware/Cache.lua',
['Spore.Middleware.DoNotTrack'] = 'src/Spore/Middleware/DoNotTrack.lua',
['Spore.Middleware.Format.JSON'] = 'src/Spore/Middleware/Format/JSON.lua',
['Spore.Middleware.Format.XML'] = 'src/Spore/Middleware/Format/XML.lua',
['Spore.Middleware.Format.YAML'] = 'src/Spore/Middleware/Format/YAML.lua',
['Spore.Middleware.Logging'] = 'src/Spore/Middleware/Logging.lua',
['Spore.Middleware.Mock'] = 'src/Spore/Middleware/Mock.lua',
['Spore.Middleware.Parameter.Default'] = 'src/Spore/Middleware/Parameter/Default.lua',
['Spore.Middleware.Parameter.Force'] = 'src/Spore/Middleware/Parameter/Force.lua',
['Spore.Middleware.Proxy.Basic'] = 'src/Spore/Middleware/Proxy/Basic.lua',
['Spore.Middleware.Redirection'] = 'src/Spore/Middleware/Redirection.lua',
['Spore.Middleware.Runtime'] = 'src/Spore/Middleware/Runtime.lua',
['Spore.Middleware.UserAgent'] = 'src/Spore/Middleware/UserAgent.lua',
['Spore.Protocols'] = 'src/Spore/Protocols.lua',
['Spore.Request'] = 'src/Spore/Request.lua',
['Spore.Swagger'] = 'src/Spore/Swagger.lua',
['Spore.WADL'] = 'src/Spore/WADL.lua',
['Spore.XML'] = 'src/Spore/XML.lua',
},
install = {
bin = {
'src/discovery2spore',
'src/swagger2spore',
'src/wadl2spore',
}
},
copy_directories = { 'docs', 'test' },
}