-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathluatz-scm-0.rockspec
40 lines (34 loc) · 1.07 KB
/
luatz-scm-0.rockspec
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
package = "luatz"
version = "scm-0"
description = {
summary = "library for time and date manipulation.";
detailed = [[
A lua library for time and date manipulation.
Features include:
- Normalisation of broken down date objects
- allows for complex time/date manipulation logic e.g. "what day is it in 2 days, 5 hours from now?"
- Conversion between locations (time zones) using your local zoneinfo database.
- strftime style formatting
All operations are possible without C extensions, though if available they may be used to increase accuracy.
]];
license = "MIT";
}
dependencies = {
"lua >= 5.1";
}
source = {
url = "git://github.com/daurnimator/luatz.git";
}
build = {
type = "builtin";
modules = {
["luatz.init"] = "luatz/init.lua";
["luatz.gettime"] = "luatz/gettime.lua";
["luatz.parse"] = "luatz/parse.lua";
["luatz.timetable"] = "luatz/timetable.lua";
["luatz.strftime"] = "luatz/strftime.lua";
["luatz.tzcache"] = "luatz/tzcache.lua";
["luatz.tzfile"] = "luatz/tzfile.lua";
["luatz.tzinfo"] = "luatz/tzinfo.lua";
};
}