-
Notifications
You must be signed in to change notification settings - Fork 7
/
dune-project
191 lines (160 loc) · 3.82 KB
/
dune-project
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
(lang dune 2.9)
(license "MIT")
(authors "Daypack developers")
(maintainers "Darren Ldl <[email protected]>")
(source (github daypack-dev/timere))
(homepage "https://github.com/daypack-dev/timere")
(generate_opam_files true)
(name timere)
(package
(name timedesc)
(synopsis "OCaml date time handling library")
(description "
Features:
- Timestamp and date time handling with platform independent time zone support
- Subset of the IANA time zone database is built into this library
- Supports Gregorian calendar date, ISO week date, and ISO ordinal date
- Supports nanosecond precision
- ISO8601 parsing and RFC3339 printing
"
)
(depends
(ocaml (>= "4.08"))
(bisect_ppx (and :dev (>= "2.5.0")))
dune
(timedesc-tzdb (= :version))
(timedesc-tzlocal (= :version))
seq
(angstrom (>= "0.15.0"))
ptime
(result (>= "1.5"))
(crowbar :with-test)
(alcotest :with-test)
(qcheck-alcotest :with-test)
(qcheck :with-test)
)
)
(package
(name timedesc-tzdb)
(synopsis "Virtual library for Timedesc time zone database backends")
(description "
Concrete implementations available in this package:
- `timedesc-tzdb.full`
- `timedesc-tzdb.none`
")
(depends
(ocaml (>= "4.08"))
dune
)
)
(package
(name timedesc-tzlocal)
(synopsis "Virtual library for Timedesc local time zone detection backends")
(description "
Concrete implementations available in this package:
- `timedesc-tzlocal.unix`
- `timedesc-tzlocal.none`
- `timedesc-tzlocal.utc`
See timedesc-tzlocal-js for JavaScript backend
")
(depends
(ocaml (>= "4.08"))
dune
)
)
(package
(name timedesc-tzlocal-js)
(synopsis "JS implementation for timedesc-tzlocal")
(description "
JavaScript implementation of timedesc-tzlocal
")
(depends
(ocaml (>= "4.08"))
dune
(timedesc-tzlocal (= :version))
(js_of_ocaml (>= "4.0.0"))
js_of_ocaml-ppx
)
)
(package
(name timedesc-json)
(synopsis "Timedesc JSON backend")
(description "
This package provides JSON serialization functions for various Timedesc values
")
(depends
(ocaml (>= "4.08"))
dune
(timedesc (= :version))
(yojson (>= "1.6.0"))
)
)
(package
(name timedesc-sexp)
(synopsis "Timedesc Sexp backend")
(description "
This package provides sexp serialization functions for various Timedesc values
")
(depends
(ocaml (>= "4.08"))
dune
(timedesc (= :version))
(sexplib (>= "v0.14.0"))
)
)
(package
(name timere)
(synopsis "OCaml date time reasoning library")
(description "
Features:
- Reasoning over time intervals via `timere` objects/expressions, examples:
- Pattern matching time and intervals. These work across DST boundaries.
- Intersection and union
- Chunking at year or month boundary, or in fixed sizes
- Evaluate (sub)expressions with a different time zone (e.g. intersection of 9am to 5pm of Sydney and 9am to 5pm of New York)
"
)
(depends
(ocaml (>= "4.08"))
(bisect_ppx (and :dev (>= "2.5.0")))
dune
seq
(oseq (>= "0.5"))
(containers (>= "3.6"))
fmt
(timedesc (>= "3.0.0"))
(timedesc-sexp (>= "3.0.0"))
(diet (>= "0.4"))
(crowbar :with-test)
(alcotest :with-test)
(qcheck-alcotest :with-test)
(qcheck :with-test)
)
)
(package
(name timere-parse)
(synopsis "OCaml date time and duration natural language parsing library")
(description "
(WIP) Facilities for parsing natural language expressions into
- Timere objects
- Date time
- Hour minute second
- Duration
"
)
(depends
(ocaml (>= "4.08"))
(bisect_ppx (and :dev (>= "2.5.0")))
dune
(oseq (>= "0.5"))
(re (>= "1.9.0"))
(containers (>= "3.6"))
(timedesc (>= "0.8.0"))
(timere (>= "0.8.0"))
(mparser (>= "1.2.3"))
(crowbar :with-test)
(alcotest :with-test)
(qcheck-alcotest :with-test)
(qcheck :with-test)
)
)