]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
Commit old WIP.
[comptalang.git] / lcc / hcompta-lcc.cabal
1 name: hcompta-lcc
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.201802
6 category: Finance
7 synopsis: hcompta
8 description: LCC (Langage Comptable Convivial) support for Hcompta.
9 extra-doc-files:
10 license: GPL-3
11 license-file: COPYING
12 stability: experimental
13 author: Julien Moutinho <julm+hcompta@autogeree.net>
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 bug-reports: Julien Moutinho <julm+hcompta@autogeree.net>
16 -- homepage:
17
18 build-type: Simple
19 cabal-version: >= 1.10
20 tested-with: GHC==8.2.2
21 -- data-dir: data
22 -- data-files:
23 extra-source-files:
24 stack.yaml
25 extra-tmp-files:
26
27 Source-Repository head
28 location: git://git.autogeree.net/hcompta
29 type: git
30
31 Flag prof
32 Default: False
33 Description: Turn on profiling settings.
34 Manual: True
35
36 Flag threaded
37 Default: False
38 Description: Enable threads.
39 Manual: True
40
41 Library
42 default-language: Haskell2010
43 default-extensions:
44 ConstraintKinds
45 DataKinds
46 DefaultSignatures
47 FlexibleContexts
48 FlexibleInstances
49 GeneralizedNewtypeDeriving
50 LambdaCase
51 MultiParamTypeClasses
52 NamedFieldPuns
53 NoImplicitPrelude
54 OverloadedStrings
55 PatternGuards
56 Rank2Types
57 ScopedTypeVariables
58 StandaloneDeriving
59 TupleSections
60 TypeApplications
61 TypeFamilies
62 TypeOperators
63 ghc-options:
64 -Wall
65 -Wincomplete-uni-patterns
66 -Wincomplete-record-updates
67 -fno-warn-tabs
68 -fhide-source-paths
69 if flag(prof)
70 cpp-options: -DPROFILING
71 ghc-options: -fprof-auto
72 exposed-modules:
73 Hcompta.LCC
74 Hcompta.LCC.Account
75 Hcompta.LCC.Amount
76 Hcompta.LCC.Balance
77 Hcompta.LCC.Chart
78 Hcompta.LCC.Compta
79 Hcompta.LCC.IO
80 Hcompta.LCC.Journal
81 Hcompta.LCC.Lib.FilePath
82 Hcompta.LCC.Lib.Strict
83 Hcompta.LCC.Name
84 Hcompta.LCC.Posting
85 Hcompta.LCC.Read
86 Hcompta.LCC.Read.Compta
87 Hcompta.LCC.Read.Megaparsec
88 Hcompta.LCC.Source
89 Hcompta.LCC.Sym
90 Hcompta.LCC.Sym.Account
91 Hcompta.LCC.Sym.Addable
92 Hcompta.LCC.Sym.Amount
93 Hcompta.LCC.Sym.Balance
94 Hcompta.LCC.Sym.Chart
95 Hcompta.LCC.Sym.Date
96 Hcompta.LCC.Sym.FileSystem
97 Hcompta.LCC.Sym.IO
98 Hcompta.LCC.Sym.Journal
99 Hcompta.LCC.Sym.LCC
100 Hcompta.LCC.Sym.Negable
101 Hcompta.LCC.Sym.Posting
102 Hcompta.LCC.Sym.Quantity
103 Hcompta.LCC.Sym.Subable
104 Hcompta.LCC.Sym.Sumable
105 Hcompta.LCC.Sym.Transaction
106 Hcompta.LCC.Sym.Unit
107 Hcompta.LCC.Sym.Writeable
108 Hcompta.LCC.Sym.Zeroable
109 Hcompta.LCC.Sym.Zipper
110 Hcompta.LCC.Tag
111 Hcompta.LCC.Transaction
112 Hcompta.LCC.Write
113 Hcompta.LCC.Write.Compta
114 Hcompta.LCC.Write.Table
115 build-depends:
116 hcompta-lib
117 , ansi-terminal >= 0.7
118 , array >= 0.5
119 , base >= 4.6 && < 5
120 , bytestring >= 0.10
121 , containers >= 0.5
122 , Decimal >= 0.4
123 , deepseq >= 1.4
124 , directory >= 1.3
125 , filepath >= 1.4
126 , mono-traversable >= 1.0
127 , monad-classes >= 0.3.2
128 , megaparsec >= 6.3
129 , safe-exceptions >= 0.1
130 , strict >= 0.3
131 , symantic >= 6.3.1
132 , symantic-document >= 0.0
133 , symantic-grammar >= 0.3
134 , symantic-lib >= 0.0
135 , text >= 1.2
136 , time >= 1.6
137 , transformers >= 0.4
138 , treemap >= 2.4
139 , unix >= 2.7
140 -- , fingertree
141 -- , parsec >= 3.1.2 && < 4
142 -- , parsec-error-custom
143 -- , regex-base
144 -- , regex-tdfa
145 -- , regex-tdfa-text
146 -- , semigroups
147
148 Executable lcc-eval
149 default-language: Haskell2010
150 default-extensions:
151 ConstraintKinds
152 DataKinds
153 DefaultSignatures
154 EmptyDataDecls
155 FlexibleContexts
156 FlexibleInstances
157 LambdaCase
158 MultiParamTypeClasses
159 NamedFieldPuns
160 NoImplicitPrelude
161 OverloadedStrings
162 PatternGuards
163 PolyKinds
164 Rank2Types
165 ScopedTypeVariables
166 StandaloneDeriving
167 TupleSections
168 TypeApplications
169 TypeFamilies
170 TypeOperators
171 ghc-options:
172 -Wall
173 -Wincomplete-uni-patterns
174 -Wincomplete-record-updates
175 -fno-warn-tabs
176 -fhide-source-paths
177 if flag(threaded)
178 ghc-options: -threaded -rtsopts -with-rtsopts=-N
179 if flag(prof)
180 cpp-options: -DPROFILING
181 ghc-options: -fprof-auto
182 main-is: Main.hs
183 hs-source-dirs: exe/eval
184 build-depends:
185 hcompta-lcc
186 , hcompta-lib
187 , ansi-terminal >= 0.7
188 , base >= 4.6 && < 5
189 , bytestring >= 0.10
190 , containers >= 0.5
191 , Decimal >= 0.4
192 , deepseq >= 1.4
193 , haskeline >= 0.7
194 , io-memoize >= 1.1
195 , megaparsec >= 6.3
196 , monad-classes >= 0.3.2
197 , mono-traversable >= 1.0
198 , safe-exceptions >= 0.1
199 , semigroups >= 0.18
200 , strict >= 0.3
201 , symantic >= 6.3.1
202 , symantic-document >= 0.0
203 , symantic-grammar >= 0.3
204 , symantic-lib >= 0.0
205 , text >= 1.2
206 , time >= 1.8
207 , transformers >= 0.5
208 , treemap >= 2.4
209 -- , HUnit
210 -- , directory
211 -- , hcompta-ledger
212 -- , parsec
213 -- , parsec-error-custom
214 -- , safe >= 0.2
215 -- , template-haskell
216
217 Executable lcc-load
218 default-language: Haskell2010
219 default-extensions:
220 ConstraintKinds
221 DataKinds
222 DefaultSignatures
223 EmptyDataDecls
224 FlexibleContexts
225 FlexibleInstances
226 LambdaCase
227 MultiParamTypeClasses
228 NamedFieldPuns
229 NoImplicitPrelude
230 OverloadedStrings
231 PatternGuards
232 PolyKinds
233 Rank2Types
234 ScopedTypeVariables
235 StandaloneDeriving
236 TupleSections
237 TypeApplications
238 TypeFamilies
239 TypeOperators
240 ghc-options:
241 -Wall
242 -Wincomplete-uni-patterns
243 -Wincomplete-record-updates
244 -fno-warn-tabs
245 -fhide-source-paths
246 if flag(threaded)
247 ghc-options: -threaded -rtsopts -with-rtsopts=-N
248 if flag(prof)
249 cpp-options: -DPROFILING
250 ghc-options: -fprof-auto
251 main-is: Main.hs
252 hs-source-dirs: exe/load
253 build-depends:
254 hcompta-lcc
255 , hcompta-lib
256 , ansi-terminal >= 0.7
257 , base >= 4.6 && < 5
258 , bytestring >= 0.10
259 , containers >= 0.5
260 , Decimal >= 0.4
261 , deepseq >= 1.4
262 , io-memoize >= 1.1
263 , megaparsec >= 6.3
264 , monad-classes >= 0.3.2
265 , mono-traversable >= 1.0
266 , safe-exceptions >= 0.1
267 , semigroups >= 0.18
268 , strict >= 0.3
269 , symantic >= 6.3.1
270 , symantic-document >= 0.0
271 , symantic-grammar >= 0.3
272 , symantic-lib >= 0.0
273 , text >= 1.2
274 , time >= 1.8
275 , transformers >= 0.4
276 , treemap >= 2.4
277 -- , HUnit
278 -- , directory
279 -- , hcompta-ledger
280 -- , parsec
281 -- , parsec-error-custom
282 -- , safe >= 0.2
283 -- , template-haskell
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