]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Use symantic-document instead of walderleijen-ansi-text.
[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.201704
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.Chart
84 Hcompta.LCC.Compta
85 Hcompta.LCC.Document
86 Hcompta.LCC.Grammar
87 Hcompta.LCC.Journal
88 Hcompta.LCC.Lib.FilePath
89 Hcompta.LCC.Lib.Strict
90 Hcompta.LCC.Megaparsec
91 Hcompta.LCC.Name
92 Hcompta.LCC.Posting
93 Hcompta.LCC.Read
94 Hcompta.LCC.Sym
95 Hcompta.LCC.Sym.Account
96 Hcompta.LCC.Sym.Addable
97 Hcompta.LCC.Sym.Amount
98 Hcompta.LCC.Sym.Date
99 Hcompta.LCC.Sym.FileSystem
100 Hcompta.LCC.Sym.Journal
101 Hcompta.LCC.Sym.Negable
102 Hcompta.LCC.Sym.Posting
103 Hcompta.LCC.Sym.Quantity
104 Hcompta.LCC.Sym.Subable
105 Hcompta.LCC.Sym.Transaction
106 Hcompta.LCC.Sym.Unit
107 Hcompta.LCC.Sym.Zipper
108 Hcompta.LCC.Tag
109 Hcompta.LCC.Transaction
110 build-depends:
111 base >= 4.6 && < 5
112 , ansi-terminal >= 0.4 && < 0.7
113 , array
114 , bytestring
115 , containers >= 0.5 && < 0.6
116 -- NOTE: needed for Data.Map.Strict
117 , Decimal
118 , deepseq
119 , directory
120 , filepath
121 , hcompta-lib
122 , mono-traversable
123 , monad-classes
124 , megaparsec
125 , safe-exceptions
126 , strict
127 , symantic
128 , symantic-document
129 , symantic-grammar
130 , symantic-lib
131 , text
132 , time == 1.6.0.1
133 , transformers >= 0.4 && < 0.6
134 -- NOTE: needed for Control.Monad.Trans.Except
135 , treemap
136 , unix
137 -- , fingertree
138 -- , parsec >= 3.1.2 && < 4
139 -- NOTE: needed for Text.Parsec.Text
140 -- , parsec-error-custom
141 -- , regex-base
142 -- , regex-tdfa
143 -- , regex-tdfa-text
144 -- , semigroups
145
146 Executable eval
147 extensions:
148 ConstraintKinds
149 DataKinds
150 DefaultSignatures
151 EmptyDataDecls
152 FlexibleContexts
153 FlexibleInstances
154 LambdaCase
155 MultiParamTypeClasses
156 NamedFieldPuns
157 NoImplicitPrelude
158 OverloadedStrings
159 PatternGuards
160 PolyKinds
161 Rank2Types
162 ScopedTypeVariables
163 StandaloneDeriving
164 TupleSections
165 TypeApplications
166 TypeFamilies
167 TypeOperators
168 ghc-options: -Wall -fno-warn-tabs
169 if flag(threaded)
170 ghc-options: -threaded -rtsopts -with-rtsopts=-N
171 if flag(prof)
172 cpp-options: -DPROFILING
173 ghc-options: -fprof-auto
174 main-is: Eval.hs
175 hs-source-dirs: Hcompta/LCC
176 build-depends:
177 base >= 4.6 && < 5
178 , ansi-terminal >= 0.4 && < 0.7
179 , bytestring
180 , containers >= 0.5 && < 0.6
181 -- NOTE: needed for Data.Map.Strict
182 , Decimal
183 , deepseq
184 -- , directory
185 , hcompta-lcc
186 -- , hcompta-ledger
187 , hcompta-lib
188 -- , HUnit
189 , io-memoize >= 1.1
190 -- NOTE: needed for System.IO.Memoize.once
191 , megaparsec
192 , monad-classes
193 , mono-traversable
194 -- , parsec
195 -- , parsec-error-custom
196 -- , safe >= 0.2
197 , safe-exceptions
198 , semigroups
199 , symantic
200 , symantic-document
201 , symantic-lib
202 , symantic-grammar
203 , strict
204 -- , template-haskell
205 , text
206 , time
207 , transformers >= 0.4 && < 0.6
208 -- NOTE: needed for Control.Monad.Trans.Except
209 , treemap
210
211 Executable load
212 extensions:
213 ConstraintKinds
214 DataKinds
215 DefaultSignatures
216 EmptyDataDecls
217 FlexibleContexts
218 FlexibleInstances
219 LambdaCase
220 MultiParamTypeClasses
221 NamedFieldPuns
222 NoImplicitPrelude
223 OverloadedStrings
224 PatternGuards
225 PolyKinds
226 Rank2Types
227 ScopedTypeVariables
228 StandaloneDeriving
229 TupleSections
230 TypeApplications
231 TypeFamilies
232 TypeOperators
233 ghc-options: -Wall -fno-warn-tabs
234 if flag(threaded)
235 ghc-options: -threaded -rtsopts -with-rtsopts=-N
236 if flag(prof)
237 cpp-options: -DPROFILING
238 ghc-options: -fprof-auto
239 main-is: Load.hs
240 hs-source-dirs: Hcompta/LCC
241 build-depends:
242 base >= 4.6 && < 5
243 , ansi-terminal >= 0.4 && < 0.7
244 , bytestring
245 , containers >= 0.5 && < 0.6
246 -- NOTE: needed for Data.Map.Strict
247 , Decimal
248 , deepseq
249 -- , directory
250 , hcompta-lcc
251 -- , hcompta-ledger
252 , hcompta-lib
253 -- , HUnit
254 , io-memoize >= 1.1
255 -- NOTE: needed for System.IO.Memoize.once
256 , megaparsec
257 , monad-classes
258 , mono-traversable
259 -- , parsec
260 -- , parsec-error-custom
261 -- , safe >= 0.2
262 , safe-exceptions
263 , semigroups
264 , symantic
265 , symantic-document
266 , symantic-lib
267 , symantic-grammar
268 , strict
269 -- , template-haskell
270 , text
271 , time
272 , transformers >= 0.4 && < 0.6
273 -- NOTE: needed for Control.Monad.Trans.Except
274 , treemap
275
276 -- Test-Suite hcompta-cli-test
277 -- type: exitcode-stdio-1.0
278 -- -- default-language: Haskell2010
279 -- extensions: NoImplicitPrelude
280 -- ghc-options: -Wall -fno-warn-tabs
281 -- -main-is Test
282 -- hs-source-dirs: Hcompta
283 -- main-is: Test.hs
284 -- other-modules:
285 -- if flag(threaded)
286 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
287 -- if flag(dev)
288 -- cpp-options: -DDEVELOPMENT
289 -- ghc-options:
290 -- if flag(prof)
291 -- cpp-options: -DPROFILING
292 -- ghc-options: -fprof-auto
293 -- build-depends:
294 -- base >= 4.6 && < 5
295 -- , containers >= 0.5 && < 0.6
296 -- , Decimal
297 -- , ghc-prim
298 -- , hcompta-lib
299 -- , hcompta-cli
300 -- , semigroups
301 -- , strict
302 -- , tasty >= 0.11
303 -- , tasty-hunit
304 -- , text
305 -- , text-format
306 -- , transformers >= 0.4 && < 0.5
307 -- , treemap
308
309 -- Test-Suite hcompta-lcc-test
310 -- type: exitcode-stdio-1.0
311 -- -- default-language: Haskell2010
312 -- extensions:
313 -- DataKinds
314 -- FlexibleContexts
315 -- FlexibleInstances
316 -- GeneralizedNewtypeDeriving
317 -- MultiParamTypeClasses
318 -- NamedFieldPuns
319 -- NoImplicitPrelude
320 -- OverloadedStrings
321 -- Rank2Types
322 -- ScopedTypeVariables
323 -- TupleSections
324 -- TypeApplications
325 -- TypeFamilies
326 -- TypeOperators
327 -- ghc-options: -Wall -fno-warn-tabs
328 -- -fprint-potential-instances
329 -- -main-is Test
330 -- hs-source-dirs: Hcompta/LCC
331 -- main-is: Test.hs
332 -- other-modules:
333 -- Read.Test
334 -- Write.Test
335 -- Chart.Test
336 -- if flag(threaded)
337 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
338 -- if flag(dev)
339 -- cpp-options: -DDEVELOPMENT
340 -- ghc-options:
341 -- if flag(prof)
342 -- cpp-options: -DPROFILING
343 -- ghc-options: -fprof-auto
344 -- build-depends:
345 -- base >= 4.6 && < 5
346 -- , Decimal
347 -- , containers >= 0.5 && < 0.6
348 -- , directory
349 -- , filepath
350 -- , hcompta-lcc
351 -- , hcompta-lib
352 -- , io-memoize
353 -- , megaparsec
354 -- , monad-classes
355 -- , mono-traversable
356 -- , safe-exceptions
357 -- , semigroups
358 -- , strict
359 -- , symantic
360 -- , symantic-document
361 -- , symantic-grammar
362 -- , symantic-lib
363 -- , tasty >= 0.11
364 -- , tasty-hunit
365 -- , text
366 -- , time
367 -- , transformers >= 0.4 && < 0.6
368 -- , treemap