]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Correction : rétro support de GHC 7.6.3 (Debian/jessie).
[comptalang.git] / lib / hcompta-lib.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 bug-reports: http://doc.autogeree.net/hcompta/bugs
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Accounting software.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://doc.autogeree.net/coop/hcompta
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-lib
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==7.8.4
19 version: 0.0.0
20
21 source-repository head
22 location: git://git.autogeree.net/hcompta
23 type: git
24
25 Flag dev
26 Default: False
27 Description: Turn on development settings.
28
29 Flag double
30 Default: False
31 Description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
32
33 Flag dump
34 Default: False
35 Description: Dump some intermediate files.
36 Manual: True
37
38 Flag prof
39 Default: False
40 Description: Turn on profiling settings.
41
42 Library
43 extensions: NoImplicitPrelude
44 ghc-options: -Wall -fno-warn-tabs
45 if flag(dev)
46 cpp-options: -DDEVELOPMENT
47 ghc-options:
48 -- -ddump-splices
49 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
50 -- -fno-warn-type-defaults -fno-warn-orphans
51 else
52 ghc-options: -O2
53 if flag(prof)
54 cpp-options: -DPROFILING
55 ghc-options: -O2 -fprof-auto
56 if flag(double)
57 cpp-options: -DDOUBLE
58 if flag(dump)
59 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
60 -- default-language: Haskell2010
61 exposed-modules:
62 Hcompta.Account
63 Hcompta.Amount
64 Hcompta.Balance
65 Hcompta.Chart
66 Hcompta.Date
67 Hcompta.Date.Interval
68 -- Hcompta.Diff
69 Hcompta.Filter
70 Hcompta.Filter.Amount
71 Hcompta.Filter.Amount.Read
72 Hcompta.Filter.Date.Read
73 Hcompta.Filter.Read
74 Hcompta.Filter.Reduce
75 Hcompta.GL
76 Hcompta.Journal
77 Hcompta.Lib.Applicative
78 Hcompta.Lib.Consable
79 Hcompta.Lib.Foldable
80 Hcompta.Lib.Interval
81 Hcompta.Lib.Interval.Sieve
82 Hcompta.Lib.Leijen
83 Hcompta.Lib.Map.Strict
84 Hcompta.Lib.NonEmpty
85 Hcompta.Lib.Parsec
86 Hcompta.Lib.Path
87 Hcompta.Lib.Regex
88 Hcompta.Lib.Strict
89 Hcompta.Lib.TreeMap
90 Hcompta.Posting
91 Hcompta.Stats
92 Hcompta.Tag
93 Hcompta.Transaction
94 Hcompta.Polarize
95 Hcompta.Quantity
96 Hcompta.Unit
97 build-depends:
98 base >= 4.6 && < 5
99 , ansi-terminal >= 0.4 && < 0.7
100 , array
101 , containers >= 0.5 && < 0.6
102 -- NOTE: needed for Data.Map.Strict
103 -- , collections-api
104 -- , collections-base-instances
105 , Decimal
106 , deepseq >= 1.4.0.0 && < 1.5
107 -- NOTE: needed for NFData (Const a b)
108 , directory
109 , filepath
110 , fingertree
111 -- , HUnit
112 , integer-gmp
113 -- , lens
114 -- , mmorph
115 -- , mtl >= 2.0
116 , parsec >= 3.1.2 && < 4
117 -- NOTE: needed for Text.Parsec.Text
118 , regex-base
119 , regex-tdfa
120 , regex-tdfa-text
121 -- , safe >= 0.2
122 , semigroups
123 , strict
124 , test-framework
125 , test-framework-hunit
126 , text
127 , time
128 -- , trace
129 , transformers >= 0.4 && < 0.5
130 -- NOTE: needed for Control.Monad.Trans.Except
131
132 test-suite Test
133 type: exitcode-stdio-1.0
134 main-is: Main.hs
135 hs-source-dirs: Test
136 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
137 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
138 -- default-language: Haskell2010
139 build-depends:
140 hcompta-lib
141 , base >= 4.6 && < 5
142 , containers >= 0.5 && < 0.6
143 , Decimal
144 , HUnit
145 , parsec >= 3.1.2 && < 4
146 -- , safe
147 , semigroups
148 , strict
149 , test-framework
150 , test-framework-hunit
151 , text
152 , time
153 , transformers