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