]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Add Sym.Balance.
[comptalang.git] / lcc / hcompta-lcc.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: LCC (Langage Comptable Convivial) support for Hcompta.
9 extra-source-files:
10 extra-tmp-files:
11 -- homepage: http://pad.autogeree.net/economie/hcompta/1
12 license: GPL-3
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-lcc
16 stability: experimental
17 synopsis: hcompta
18 tested-with: GHC==8.0.2
19 -- PVP: +-+------- breaking API changes
20 -- | | +----- non-breaking API additions
21 -- | | | +--- code changes with no API change
22 version: 0.0.0.201706
23
24 Source-Repository head
25 location: git://git.autogeree.net/hcompta
26 type: git
27
28 Flag dev
29 Default: False
30 Description: Turn on development settings.
31 Manual: True
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 Manual: True
42
43 Flag threaded
44 Default: False
45 Description: Enable threads.
46 Manual: True
47
48 Library
49 extensions:
50 ConstraintKinds
51 DataKinds
52 DefaultSignatures
53 FlexibleContexts
54 FlexibleInstances
55 GeneralizedNewtypeDeriving
56 LambdaCase
57 MultiParamTypeClasses
58 NamedFieldPuns
59 NoImplicitPrelude
60 OverloadedStrings
61 PatternGuards
62 Rank2Types
63 ScopedTypeVariables
64 StandaloneDeriving
65 TupleSections
66 TypeApplications
67 TypeFamilies
68 TypeOperators
69 ghc-options: -Wall -fno-warn-tabs
70 if flag(dev)
71 cpp-options: -DDEVELOPMENT
72 ghc-options:
73 if flag(prof)
74 cpp-options: -DPROFILING
75 ghc-options: -fprof-auto
76 if flag(dump)
77 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
78 -- default-language: Haskell2010
79 exposed-modules:
80 Hcompta.LCC
81 Hcompta.LCC.Account
82 Hcompta.LCC.Amount
83 Hcompta.LCC.Balance
84 Hcompta.LCC.Chart
85 Hcompta.LCC.Compta
86 Hcompta.LCC.Document
87 Hcompta.LCC.Grammar
88 Hcompta.LCC.IO
89 Hcompta.LCC.Journal
90 Hcompta.LCC.Lib.FilePath
91 Hcompta.LCC.Lib.Strict
92 Hcompta.LCC.Megaparsec
93 Hcompta.LCC.Name
94 Hcompta.LCC.Posting
95 Hcompta.LCC.Read
96 Hcompta.LCC.Source
97 Hcompta.LCC.Sym
98 Hcompta.LCC.Sym.Account
99 Hcompta.LCC.Sym.Addable
100 Hcompta.LCC.Sym.Amount
101 Hcompta.LCC.Sym.Balance
102 Hcompta.LCC.Sym.Chart
103 Hcompta.LCC.Sym.Compta
104 Hcompta.LCC.Sym.Date
105 Hcompta.LCC.Sym.FileSystem
106 Hcompta.LCC.Sym.IO
107 Hcompta.LCC.Sym.Journal
108 Hcompta.LCC.Sym.Negable
109 Hcompta.LCC.Sym.Posting
110 Hcompta.LCC.Sym.Quantity
111 Hcompta.LCC.Sym.Subable
112 Hcompta.LCC.Sym.Sumable
113 Hcompta.LCC.Sym.Transaction
114 Hcompta.LCC.Sym.Unit
115 Hcompta.LCC.Sym.Zeroable
116 Hcompta.LCC.Sym.Zipper
117 Hcompta.LCC.Tag
118 Hcompta.LCC.Transaction
119 build-depends:
120 base >= 4.6 && < 5
121 , ansi-terminal >= 0.4 && < 0.7
122 , array
123 , bytestring
124 , containers >= 0.5 && < 0.6
125 -- NOTE: needed for Data.Map.Strict
126 , Decimal
127 , deepseq
128 , directory
129 , filepath
130 , hcompta-lib
131 , mono-traversable
132 , monad-classes
133 , megaparsec
134 , safe-exceptions
135 , strict
136 , symantic
137 , symantic-document
138 , symantic-grammar
139 , symantic-lib
140 , text
141 , time == 1.6.0.1
142 , transformers >= 0.4 && < 0.6
143 -- NOTE: needed for Control.Monad.Trans.Except
144 , treemap
145 , unix
146 -- , fingertree
147 -- , parsec >= 3.1.2 && < 4
148 -- NOTE: needed for Text.Parsec.Text
149 -- , parsec-error-custom
150 -- , regex-base
151 -- , regex-tdfa
152 -- , regex-tdfa-text
153 -- , semigroups
154
155 Executable eval
156 extensions:
157 ConstraintKinds
158 DataKinds
159 DefaultSignatures
160 EmptyDataDecls
161 FlexibleContexts
162 FlexibleInstances
163 LambdaCase
164 MultiParamTypeClasses
165 NamedFieldPuns
166 NoImplicitPrelude
167 OverloadedStrings
168 PatternGuards
169 PolyKinds
170 Rank2Types
171 ScopedTypeVariables
172 StandaloneDeriving
173 TupleSections
174 TypeApplications
175 TypeFamilies
176 TypeOperators
177 ghc-options: -Wall -fno-warn-tabs
178 if flag(threaded)
179 ghc-options: -threaded -rtsopts -with-rtsopts=-N
180 if flag(prof)
181 cpp-options: -DPROFILING
182 ghc-options: -fprof-auto
183 main-is: Eval.hs
184 hs-source-dirs: Hcompta/LCC
185 build-depends:
186 base >= 4.6 && < 5
187 , ansi-terminal >= 0.4 && < 0.7
188 , bytestring
189 , containers >= 0.5 && < 0.6
190 -- NOTE: needed for Data.Map.Strict
191 , Decimal
192 , deepseq
193 -- , directory
194 , hcompta-lcc
195 -- , hcompta-ledger
196 , hcompta-lib
197 -- , HUnit
198 , io-memoize >= 1.1
199 -- NOTE: needed for System.IO.Memoize.once
200 , megaparsec
201 , monad-classes
202 , mono-traversable
203 -- , parsec
204 -- , parsec-error-custom
205 -- , safe >= 0.2
206 , safe-exceptions
207 , semigroups
208 , symantic
209 , symantic-document
210 , symantic-lib
211 , symantic-grammar
212 , strict
213 -- , template-haskell
214 , text
215 , time
216 , transformers >= 0.4 && < 0.6
217 -- NOTE: needed for Control.Monad.Trans.Except
218 , treemap
219
220 Executable load
221 extensions:
222 ConstraintKinds
223 DataKinds
224 DefaultSignatures
225 EmptyDataDecls
226 FlexibleContexts
227 FlexibleInstances
228 LambdaCase
229 MultiParamTypeClasses
230 NamedFieldPuns
231 NoImplicitPrelude
232 OverloadedStrings
233 PatternGuards
234 PolyKinds
235 Rank2Types
236 ScopedTypeVariables
237 StandaloneDeriving
238 TupleSections
239 TypeApplications
240 TypeFamilies
241 TypeOperators
242 ghc-options: -Wall -fno-warn-tabs
243 if flag(threaded)
244 ghc-options: -threaded -rtsopts -with-rtsopts=-N
245 if flag(prof)
246 cpp-options: -DPROFILING
247 ghc-options: -fprof-auto
248 main-is: Load.hs
249 hs-source-dirs: Hcompta/LCC
250 build-depends:
251 base >= 4.6 && < 5
252 , ansi-terminal >= 0.4 && < 0.7
253 , bytestring
254 , containers >= 0.5 && < 0.6
255 -- NOTE: needed for Data.Map.Strict
256 , Decimal
257 , deepseq
258 -- , directory
259 , hcompta-lcc
260 -- , hcompta-ledger
261 , hcompta-lib
262 -- , HUnit
263 , io-memoize >= 1.1
264 -- NOTE: needed for System.IO.Memoize.once
265 , megaparsec
266 , monad-classes
267 , mono-traversable
268 -- , parsec
269 -- , parsec-error-custom
270 -- , safe >= 0.2
271 , safe-exceptions
272 , semigroups
273 , symantic
274 , symantic-document
275 , symantic-lib
276 , symantic-grammar
277 , strict
278 -- , template-haskell
279 , text
280 , time
281 , transformers >= 0.4 && < 0.6
282 -- NOTE: needed for Control.Monad.Trans.Except
283 , treemap
284
285 -- Test-Suite hcompta-cli-test
286 -- type: exitcode-stdio-1.0
287 -- -- default-language: Haskell2010
288 -- extensions: NoImplicitPrelude
289 -- ghc-options: -Wall -fno-warn-tabs
290 -- -main-is Test
291 -- hs-source-dirs: Hcompta
292 -- main-is: Test.hs
293 -- other-modules:
294 -- if flag(threaded)
295 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
296 -- if flag(dev)
297 -- cpp-options: -DDEVELOPMENT
298 -- ghc-options:
299 -- if flag(prof)
300 -- cpp-options: -DPROFILING
301 -- ghc-options: -fprof-auto
302 -- build-depends:
303 -- base >= 4.6 && < 5
304 -- , containers >= 0.5 && < 0.6
305 -- , Decimal
306 -- , ghc-prim
307 -- , hcompta-lib
308 -- , hcompta-cli
309 -- , semigroups
310 -- , strict
311 -- , tasty >= 0.11
312 -- , tasty-hunit
313 -- , text
314 -- , text-format
315 -- , transformers >= 0.4 && < 0.5
316 -- , treemap
317
318 -- Test-Suite hcompta-lcc-test
319 -- type: exitcode-stdio-1.0
320 -- -- default-language: Haskell2010
321 -- extensions:
322 -- DataKinds
323 -- FlexibleContexts
324 -- FlexibleInstances
325 -- GeneralizedNewtypeDeriving
326 -- MultiParamTypeClasses
327 -- NamedFieldPuns
328 -- NoImplicitPrelude
329 -- OverloadedStrings
330 -- Rank2Types
331 -- ScopedTypeVariables
332 -- TupleSections
333 -- TypeApplications
334 -- TypeFamilies
335 -- TypeOperators
336 -- ghc-options: -Wall -fno-warn-tabs
337 -- -fprint-potential-instances
338 -- -main-is Test
339 -- hs-source-dirs: Hcompta/LCC
340 -- main-is: Test.hs
341 -- other-modules:
342 -- Read.Test
343 -- Write.Test
344 -- Chart.Test
345 -- if flag(threaded)
346 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
347 -- if flag(dev)
348 -- cpp-options: -DDEVELOPMENT
349 -- ghc-options:
350 -- if flag(prof)
351 -- cpp-options: -DPROFILING
352 -- ghc-options: -fprof-auto
353 -- build-depends:
354 -- base >= 4.6 && < 5
355 -- , Decimal
356 -- , containers >= 0.5 && < 0.6
357 -- , directory
358 -- , filepath
359 -- , hcompta-lcc
360 -- , hcompta-lib
361 -- , io-memoize
362 -- , megaparsec
363 -- , monad-classes
364 -- , mono-traversable
365 -- , safe-exceptions
366 -- , semigroups
367 -- , strict
368 -- , symantic
369 -- , symantic-document
370 -- , symantic-grammar
371 -- , symantic-lib
372 -- , tasty >= 0.11
373 -- , tasty-hunit
374 -- , text
375 -- , time
376 -- , transformers >= 0.4 && < 0.6
377 -- , treemap