forked from vincenthz/hs-hourglass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhourglass.cabal
87 lines (83 loc) · 2.92 KB
/
hourglass.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
Name: hourglass
Version: 0.2.9
Synopsis: simple performant time related library
Description:
Simple time library focusing on simple but powerful and performant API
.
The backbone of the library are the Timeable and Time type classes.
.
Each Timeable instances can be converted to type that has a Time instances,
and thus are different representations of current time.
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <[email protected]>
Author: Vincent Hanquez <[email protected]>
Maintainer: [email protected]
Category: Time
Stability: experimental
Build-Type: Simple
Homepage: https://github.com/vincenthz/hs-hourglass
Cabal-Version: >=1.10
extra-source-files: README.md
, CHANGELOG.md
, tests/TimeDB.hs
Library
Exposed-modules: Data.Hourglass
, Data.Hourglass.Types
, Data.Hourglass.Epoch
, Data.Hourglass.Compat
, System.Hourglass
Other-modules: Data.Hourglass.Time
, Data.Hourglass.Format
, Data.Hourglass.Diff
, Data.Hourglass.Local
, Data.Hourglass.Calendar
, Data.Hourglass.Zone
, Data.Hourglass.Internal
, Data.Hourglass.Utils
Build-depends: base >= 4 && < 5
, deepseq
ghc-options: -Wall -fwarn-tabs
Default-Language: Haskell2010
if os(windows)
cpp-options: -DWINDOWS
Build-depends: Win32
Other-modules: Data.Hourglass.Internal.Win
else
Other-modules: Data.Hourglass.Internal.Unix
c-sources: cbits/unix.c
Test-Suite test-hourglass
type: exitcode-stdio-1.0
hs-source-dirs: tests
Main-is: Tests.hs
Build-Depends: base >= 3 && < 5
, mtl
, tasty
, tasty-quickcheck
, tasty-hunit
, hourglass
, deepseq
-- to test against some other reference
, time
, old-locale
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
Default-Language: Haskell2010
if os(windows)
cpp-options: -DWINDOWS
Benchmark bench-hourglass
hs-source-dirs: tests
Main-Is: Bench.hs
type: exitcode-stdio-1.0
Default-Language: Haskell2010
Build-depends: base >= 4 && < 5
, bytestring
, criterion
, mtl
, deepseq
, hourglass
-- to benchmark against other reference
, time
, old-locale
source-repository head
type: git
location: https://github.com/vincenthz/hs-hourglass