]> Git — Sourcephile - comptalang.git/blob - ledger/hcompta-ledger.cabal
Add Sym.Compta and sync with symantic.
[comptalang.git] / ledger / hcompta-ledger.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/hcompta
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Ledger support for Hcompta.
9 extra-source-files:
10 extra-tmp-files:
11 -- homepage: http://pad.autogeree.net/hcompta
12 license: GPL-3
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-ledger
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==7.10.3
19 version: 1.201608
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 Manual: True
29
30 Flag dump
31 Default: False
32 Description: Dump some intermediate files.
33 Manual: True
34
35 Flag prof
36 Default: False
37 Description: Turn on profiling settings.
38 Manual: True
39
40 Flag threaded
41 Default: False
42 Description: Enable threads.
43 Manual: True
44
45 Library
46 extensions: NoImplicitPrelude
47 ghc-options: -Wall -fno-warn-tabs
48 if flag(dev)
49 cpp-options: -DDEVELOPMENT
50 ghc-options:
51 if flag(prof)
52 cpp-options: -DPROFILING
53 ghc-options: -fprof-auto
54 if flag(dump)
55 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
56 -- default-language: Haskell2010
57 exposed-modules:
58 Hcompta.Ledger
59 Hcompta.Ledger.Account
60 Hcompta.Ledger.Amount
61 Hcompta.Ledger.Chart
62 Hcompta.Ledger.Journal
63 Hcompta.Ledger.Lib.FilePath
64 Hcompta.Ledger.Lib.Parsec
65 Hcompta.Ledger.Posting
66 Hcompta.Ledger.Read
67 Hcompta.Ledger.Transaction
68 Hcompta.Ledger.Write
69 build-depends:
70 base >= 4.6 && < 5
71 , ansi-terminal >= 0.4 && < 0.7
72 , array
73 , containers >= 0.5 && < 0.6
74 -- NOTE: needed for Data.Map.Strict
75 , Decimal
76 , deepseq
77 , directory
78 , filepath
79 , fingertree
80 , hcompta-lib
81 , integer-gmp
82 -- , lens
83 -- , mmorph
84 -- , mtl >= 2.0
85 , parsec >= 3.1.2 && < 4
86 -- NOTE: needed for Text.Parsec.Text
87 , parsec-error-custom
88 , regex-base
89 , regex-tdfa
90 , regex-tdfa-replace
91 , regex-tdfa-text
92 -- , safe >= 0.2
93 , safe-exceptions
94 , semigroups
95 , strict
96 , text
97 , time
98 , transformers >= 0.4 && < 0.5
99 -- NOTE: needed for Control.Monad.Trans.Except
100 , treemap
101 , walderleijen-ansi-text
102
103 Test-Suite hcompta-ledger-test
104 type: exitcode-stdio-1.0
105 -- default-language: Haskell2010
106 extensions: NoImplicitPrelude
107 ghc-options: -Wall -fno-warn-tabs
108 -main-is Test
109 hs-source-dirs: Hcompta/Ledger
110 main-is: Test.hs
111 other-modules:
112 Read.Test
113 -- Write.Test
114 if flag(threaded)
115 ghc-options: -threaded -rtsopts -with-rtsopts=-N
116 if flag(dev)
117 cpp-options: -DDEVELOPMENT
118 ghc-options:
119 if flag(prof)
120 cpp-options: -DPROFILING
121 ghc-options: -fprof-auto
122 build-depends:
123 base >= 4.6 && < 5
124 , containers >= 0.5 && < 0.6
125 , Decimal
126 , hcompta-lib
127 , hcompta-ledger
128 , parsec >= 3.1.2 && < 4
129 -- NOTE: needed for Text.Parsec.Text
130 , parsec-error-custom
131 , semigroups
132 , strict
133 , tasty >= 0.11
134 , tasty-hunit
135 , text
136 , time
137 , transformers >= 0.4 && < 0.5
138 , treemap
139 , walderleijen-ansi-text