-
Notifications
You must be signed in to change notification settings - Fork 3
/
cereal-time.cabal
67 lines (52 loc) · 1.57 KB
/
cereal-time.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
name: cereal-time
version: 0.1.0.0
synopsis: Serialize instances for types from `time` package.
-- description:
license: BSD3
license-file: LICENSE
author: Al Zohali
maintainer: Al Zohali <[email protected]>
-- copyright:
category: Data
build-type: Simple
cabal-version: >=1.10
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/zohl/cereal-time.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
exposed-modules:
Data.Time.Calendar.Serialize
Data.Time.Clock.Serialize
Data.Time.Clock.TAI.Serialize
Data.Time.Format.Serialize
Data.Time.LocalTime.Serialize
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
hs-source-dirs: src
default-language: Haskell2010
build-depends: base >= 4.7 && < 5.0
, cereal >= 0.5 && < 0.6
, time >= 1.5 && < 1.14
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
hs-source-dirs: tests
default-language: Haskell2010
build-depends: base >= 4.7 && < 5.0
, QuickCheck >= 2.4 && < 3.0
, cereal >= 0.5 && < 0.6
, cereal-time
, hspec >= 2.0 && < 3.0
, time >= 1.6 && < 1.11