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