]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Modification : adapte à GHC-7.10.1.
[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/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 Library
39 ghc-options: -Wall -fno-warn-tabs
40 if flag(dev)
41 cpp-options: -DDEVELOPMENT
42 ghc-options:
43 -- -ddump-splices
44 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
45 -- -fno-warn-type-defaults -fno-warn-orphans
46 else
47 ghc-options: -O2
48 if flag(double)
49 cpp-options: -DDOUBLE
50 if flag(dump)
51 ghc-options: -ddump-simple -ddump-stg -ddump-to-file
52 -- default-language: Haskell2010
53 exposed-modules:
54 Hcompta.Account
55 Hcompta.Amount
56 Hcompta.Amount.Quantity
57 Hcompta.Amount.Read
58 Hcompta.Amount.Write
59 Hcompta.Amount.Style
60 Hcompta.Amount.Unit
61 Hcompta.Balance
62 Hcompta.Date
63 Hcompta.Date.Interval
64 Hcompta.Date.Read
65 Hcompta.Date.Write
66 Hcompta.Filter
67 Hcompta.Filter.Read
68 Hcompta.Filter.Reduce
69 Hcompta.Format.CSV
70 Hcompta.Format.Ledger
71 Hcompta.Format.Ledger.Journal
72 Hcompta.Format.Ledger.Read
73 Hcompta.Format.Ledger.Write
74 Hcompta.GL
75 Hcompta.Lib.Foldable
76 Hcompta.Lib.Interval
77 Hcompta.Lib.Interval.Sieve
78 Hcompta.Lib.Leijen
79 Hcompta.Lib.Map.Strict
80 Hcompta.Lib.Parsec
81 Hcompta.Lib.Path
82 Hcompta.Lib.Regex
83 Hcompta.Lib.TreeMap
84 build-depends:
85 base >= 4.7 && < 5
86 , ansi-terminal >= 0.4 && < 0.7
87 , array
88 , containers >= 0.5 && < 0.6
89 -- NOTE: needed for Data.Map.Strict
90 -- , collections-api
91 -- , collections-base-instances
92 , Decimal
93 , directory
94 , filepath
95 , fingertree
96 , HUnit
97 , integer-gmp
98 -- , lens
99 -- , mmorph
100 -- , mtl >= 2.0
101 , parsec >= 3.1.2 && < 4
102 -- NOTE: needed for Text.Parsec.Text
103 , regex-base
104 , regex-tdfa
105 , regex-tdfa-text
106 -- , safe >= 0.2
107 , semigroups
108 , test-framework
109 , test-framework-hunit
110 , text
111 , time
112 , transformers >= 0.4 && < 0.5
113 -- NOTE: needed for Control.Monad.Trans.Except
114
115 test-suite Test
116 type: exitcode-stdio-1.0
117 main-is: Main.hs
118 hs-source-dirs: Test
119 ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
120 ghc-options: -fno-warn-type-defaults -fno-warn-orphans -fno-warn-tabs
121 -- default-language: Haskell2010
122 build-depends:
123 hcompta-lib
124 , base >= 4.7 && < 5
125 , containers >= 0.5 && < 0.6
126 , Decimal
127 , HUnit
128 , parsec >= 3.1.2 && < 4
129 -- , safe
130 , semigroups
131 , test-framework
132 , test-framework-hunit
133 , text
134 , time
135 , transformers