-
Notifications
You must be signed in to change notification settings - Fork 5
/
fixhs.cabal
111 lines (99 loc) · 3.35 KB
/
fixhs.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
name: fixhs
version: 0.1.4
description: Financial Information eXchange (FIX) protocol (co)parser
homepage: http://github.com/urv/fixhs
synopsis: FIX (co)parser
category: Protocol, Text, Parsing
license: LGPL-2.1
license-file: LICENSE
author: Arvin Moezzi
maintainer: Arvin Moezzi
build-type: Simple
tested-with: GHC == 7.0.3
cabal-version: >=1.8
stability: experimental
flag developer
description: build in development mode
default: False
flag with-fix40
description: add fix40 to the module
default: True
flag with-fix41
description: add fix41 to the module
default: True
flag with-fix42
description: add fix42 to the module
default: True
flag with-fix43
description: add fix43 to the module. It takes a long time to compile!
default: False
flag with-fix44
description: add fix44 to the module. It takes a long time to compile!
default: False
library
hs-source-dirs: src/
build-depends:
base >= 3 && < 5,
containers, MissingH, bytestring, attoparsec,
old-time, network, HaXml, deepseq, QuickCheck,
parallel, text, dlist
other-modules:
Data.FIX.ParserCombinators
exposed-modules:
Data.LookupTable
Data.Coparser
Data.FIX.Arbitrary
Data.FIX.Common
Data.FIX.Coparser
Data.FIX.Parser
Data.FIX.Message
ghc-options: -Wall
if flag(developer)
ghc-prof-options: -auto-all
if flag(with-fix40)
exposed-modules: Data.FIX.Spec.FIX40
if flag(with-fix41)
exposed-modules: Data.FIX.Spec.FIX41
if flag(with-fix42)
exposed-modules: Data.FIX.Spec.FIX42
if flag(with-fix43)
exposed-modules: Data.FIX.Spec.FIX43
if flag(with-fix44)
exposed-modules: Data.FIX.Spec.FIX44
Executable fix-generator
hs-source-dirs: src/
Main-is: Utils/Generator.hs
Build-Depends:
base >= 3 && < 5,
HaXml, MissingH, old-time, dlist, attoparsec,
containers, QuickCheck, deepseq, text, bytestring
source-repository head
type: git
location: http://github.com/urv/fixhs
test-suite properties
hs-source-dirs: src/
type: exitcode-stdio-1.0
other-modules:
Data.FIX.ParserCombinators
Data.LookupTable
Data.Coparser
Data.FIX.Arbitrary
Data.FIX.Common
Data.FIX.Coparser
Data.FIX.Parser
Data.FIX.Message
if flag(with-fix40)
other-modules: Data.FIX.Spec.FIX40
if flag(with-fix41)
other-modules: Data.FIX.Spec.FIX41
if flag(with-fix42)
other-modules: Data.FIX.Spec.FIX42
if flag(with-fix43)
other-modules: Data.FIX.Spec.FIX43
if flag(with-fix44)
other-modules: Data.FIX.Spec.FIX44
main-is: ../testsuite/tests/FIXParserTest.hs
Build-Depends:
base >= 3 && < 5,
HaXml, MissingH, old-time, dlist, attoparsec,
containers, QuickCheck, deepseq, text, bytestring