-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathid.cabal
77 lines (69 loc) · 1.45 KB
/
id.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
cabal-version: 2.4
name: id
version: 0.2.0.0
license-file: LICENSE
Flag cassava
Description: Enable Postgresql support
Default: True
Manual: False
Flag postgres
Description: Enable Postgresql support
Default: True
Manual: False
Flag flat
Description: Enable Flat serialization support
Default: True
Manual: False
Flag store
Description: Enable Data.Store serialization support
Default: False
Manual: False
library
exposed-modules:
Data.Id
-- other-modules:
-- other-extensions:
build-depends:
aeson,
base >=4.12 && <5,
binary,
deepseq,
hashable,
http-api-data,
lens,
openapi3,
path-pieces,
text,
QuickCheck,
uuid,
if flag(postgres) && !(impl(ghcjs) || arch(javascript))
build-depends:
postgresql-simple
cpp-options: -DUSE_POSTGRES
if flag(cassava) && !(impl(ghcjs) || arch(javascript))
build-depends:
cassava
cpp-options: -DUSE_CASSAVA
if flag(flat)
build-depends:
flat,
cpp-options: -DUSE_FLAT
if flag(store)
build-depends:
store,
cpp-options: -DUSE_STORE
hs-source-dirs:
src
default-language:
Haskell2010
default-extensions:
AllowAmbiguousTypes
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
PolyKinds
RankNTypes
RoleAnnotations
ScopedTypeVariables
TypeApplications
TypeFamilies