-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhodatime.cabal
171 lines (164 loc) · 6.02 KB
/
hodatime.cabal
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
name: hodatime
version: 0.2.2.1
stability: experimental
license: BSD3
license-file: LICENSE
cabal-version: >=1.10
build-type: Simple
author: Jason Johnson
maintainer: <[email protected]>
homepage: https://github.com/jason-johnson/hodatime
bug-reports: https://github.com/jason-johnson/hodatime/issues
synopsis: A fully featured date/time library based on Nodatime
description: A library for dealing with time, dates, calendars and time zones
category: Data, Time
tested-with: GHC == 8.8.3
extra-source-files:
platform/osx/Data/HodaTime/TimeZone/Platform.hs
platform/osx/Data/HodaTime/Instant/Platform.hs
platform/linux/Data/HodaTime/TimeZone/Platform.hs
platform/linux/Data/HodaTime/Instant/Platform.hs
platform/windows/Data/HodaTime/TimeZone/Platform.hs
platform/windows/Data/HodaTime/Instant/Platform.hsc
source-repository head
type: git
location: https://github.com/jason-johnson/hodatime
library
default-language:
Haskell2010
hs-source-dirs: src
if os(linux)
hs-source-dirs: platform/linux
if os(darwin)
hs-source-dirs: platform/osx
if os(windows)
hs-source-dirs: platform/windows
build-depends:
base >= 4.9 && < 5,
mtl,
binary,
bytestring,
containers,
exceptions,
fingertree >= 0.1.3,
text >= 0.11.0.8,
parsec,
formatting,
array
if os(windows)
build-depends: Win32
if !os(windows)
build-depends: unix,
filepath,
directory
ghc-options: -Wall
exposed-modules:
Data.HodaTime,
Data.HodaTime.Calendar.Coptic,
Data.HodaTime.Calendar.Gregorian,
Data.HodaTime.Calendar.Hebrew,
Data.HodaTime.Calendar.Islamic,
Data.HodaTime.Calendar.Iso,
Data.HodaTime.Calendar.Julian,
Data.HodaTime.Calendar.Persian,
Data.HodaTime.CalendarDate,
Data.HodaTime.CalendarDateTime,
Data.HodaTime.Duration,
Data.HodaTime.Instant,
Data.HodaTime.Interval,
Data.HodaTime.Offset,
Data.HodaTime.LocalTime,
Data.HodaTime.OffsetDateTime,
Data.HodaTime.TimeZone,
Data.HodaTime.ZonedDateTime,
Data.HodaTime.Pattern,
Data.HodaTime.Pattern.LocalTime,
Data.HodaTime.Pattern.CalendarDate,
Data.HodaTime.Pattern.CalendarDateTime,
Data.HodaTime.Pattern.ZonedDateTime,
Data.HodaTime.Exceptions
other-modules:
Data.HodaTime.Constants,
Data.HodaTime.Internal,
Data.HodaTime.Internal.Lens,
Data.HodaTime.Duration.Internal,
Data.HodaTime.LocalTime.Internal,
Data.HodaTime.Calendar.Internal,
Data.HodaTime.Calendar.Gregorian.Internal,
Data.HodaTime.Calendar.Gregorian.CacheTable,
Data.HodaTime.CalendarDateTime.Internal,
Data.HodaTime.Instant.Internal,
Data.HodaTime.Instant.Platform,
Data.HodaTime.Offset.Internal,
Data.HodaTime.TimeZone.Internal,
Data.HodaTime.TimeZone.Platform,
Data.HodaTime.ZonedDateTime.Internal,
Data.HodaTime.Pattern.Internal,
Data.HodaTime.Pattern.ApplyParse
Data.HodaTime.Pattern.ParseTypes
if !os(windows)
other-modules:
Data.HodaTime.TimeZone.Olson,
Data.HodaTime.TimeZone.ParseTZ,
Data.HodaTime.TimeZone.Unix,
Data.HodaTime.Instant.Unix
test-suite test
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
test.hs
other-modules:
HodaTime.Util,
HodaTime.InstantTest,
HodaTime.LocalTimeTest,
HodaTime.DurationTest,
HodaTime.OffsetTest,
HodaTime.Calendar.GregorianTest,
HodaTime.CalendarDateTimeTest,
HodaTime.ZonedDateTimeTest,
HodaTime.PatternTest
build-depends:
base >= 4 && < 5,
tasty >= 0.11,
tasty-smallcheck,
tasty-quickcheck,
tasty-hunit,
QuickCheck,
time,
bytestring,
exceptions,
hodatime
benchmark bench
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
src,
bench
main-is:
bench.hs
other-modules:
HodaTime.OffsetBench,
Data.HodaTime.Calendar.Gregorian
Data.HodaTime.Calendar.Gregorian.CacheTable
Data.HodaTime.Calendar.Gregorian.Internal
Data.HodaTime.CalendarDate
Data.HodaTime.CalendarDateTime.Internal
Data.HodaTime.Constants
Data.HodaTime.Duration.Internal
Data.HodaTime.Instant.Internal
Data.HodaTime.Internal
Data.HodaTime.Offset
Data.HodaTime.Offset.Internal
build-depends:
base > 4,
criterion,
random
ghc-options:
-Wall
-O2