]> Git — Sourcephile - comptalang.git/blob - lcc/hcompta-lcc.cabal
stack: bump to lts-12.25
[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 , localization >= 1.0.1
127 , mono-traversable >= 1.0
128 , monad-classes >= 0.3.2
129 , megaparsec >= 6.3
130 , safe-exceptions >= 0.1
131 , strict >= 0.3
132 , symantic >= 6.3.1
133 , symantic-document >= 0.0
134 , symantic-grammar >= 0.3
135 , symantic-lib >= 0.0
136 , text >= 1.2
137 , time >= 1.6
138 , transformers >= 0.4
139 , treemap >= 2.4
140 , unix >= 2.7
141 -- , fingertree
142 -- , parsec >= 3.1.2 && < 4
143 -- , parsec-error-custom
144 -- , regex-base
145 -- , regex-tdfa
146 -- , regex-tdfa-text
147 -- , semigroups
148
149 Executable lcc-eval
150 default-language: Haskell2010
151 default-extensions:
152 ConstraintKinds
153 DataKinds
154 DefaultSignatures
155 EmptyDataDecls
156 FlexibleContexts
157 FlexibleInstances
158 LambdaCase
159 MultiParamTypeClasses
160 NamedFieldPuns
161 NoImplicitPrelude
162 OverloadedStrings
163 PatternGuards
164 PolyKinds
165 Rank2Types
166 ScopedTypeVariables
167 StandaloneDeriving
168 TupleSections
169 TypeApplications
170 TypeFamilies
171 TypeOperators
172 ghc-options:
173 -Wall
174 -Wincomplete-uni-patterns
175 -Wincomplete-record-updates
176 -fno-warn-tabs
177 -fhide-source-paths
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: Main.hs
184 hs-source-dirs: exe/eval
185 build-depends:
186 hcompta-lcc
187 , hcompta-lib
188 , ansi-terminal >= 0.7
189 , base >= 4.6 && < 5
190 , bytestring >= 0.10
191 , containers >= 0.5
192 , Decimal >= 0.4
193 , deepseq >= 1.4
194 , haskeline >= 0.7
195 , io-memoize >= 1.1
196 , megaparsec >= 6.3
197 , monad-classes >= 0.3.2
198 , localization >= 1.0.1
199 , mono-traversable >= 1.0
200 , safe-exceptions >= 0.1
201 , semigroups >= 0.18
202 , strict >= 0.3
203 , symantic >= 6.3.1
204 , symantic-document >= 0.0
205 , symantic-grammar >= 0.3
206 , symantic-lib >= 0.0
207 , text >= 1.2
208 , time >= 1.8
209 , transformers >= 0.5
210 , treemap >= 2.4
211 -- , HUnit
212 -- , directory
213 -- , hcompta-ledger
214 -- , parsec
215 -- , parsec-error-custom
216 -- , safe >= 0.2
217 -- , template-haskell
218
219 Executable lcc-load
220 default-language: Haskell2010
221 default-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:
243 -Wall
244 -Wincomplete-uni-patterns
245 -Wincomplete-record-updates
246 -fno-warn-tabs
247 -fhide-source-paths
248 if flag(threaded)
249 ghc-options: -threaded -rtsopts -with-rtsopts=-N
250 if flag(prof)
251 cpp-options: -DPROFILING
252 ghc-options: -fprof-auto
253 main-is: Main.hs
254 hs-source-dirs: exe/load
255 build-depends:
256 hcompta-lcc
257 , hcompta-lib
258 , ansi-terminal >= 0.7
259 , base >= 4.6 && < 5
260 , bytestring >= 0.10
261 , containers >= 0.5
262 , Decimal >= 0.4
263 , deepseq >= 1.4
264 , io-memoize >= 1.1
265 , localization >= 1.0.1
266 , megaparsec >= 6.3
267 , monad-classes >= 0.3.2
268 , mono-traversable >= 1.0
269 , safe-exceptions >= 0.1
270 , semigroups >= 0.18
271 , strict >= 0.3
272 , symantic >= 6.3.1
273 , symantic-document >= 0.0
274 , symantic-grammar >= 0.3
275 , symantic-lib >= 0.0
276 , text >= 1.2
277 , time >= 1.8
278 , transformers >= 0.4
279 , treemap >= 2.4
280 -- , HUnit
281 -- , directory
282 -- , hcompta-ledger
283 -- , parsec
284 -- , parsec-error-custom
285 -- , safe >= 0.2
286 -- , template-haskell
287
288 -- Test-Suite hcompta-cli-test
289 -- type: exitcode-stdio-1.0
290 -- -- default-language: Haskell2010
291 -- extensions: NoImplicitPrelude
292 -- ghc-options: -Wall -fno-warn-tabs
293 -- -main-is Test
294 -- hs-source-dirs: Hcompta
295 -- main-is: Test.hs
296 -- other-modules:
297 -- if flag(threaded)
298 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
299 -- if flag(dev)
300 -- cpp-options: -DDEVELOPMENT
301 -- ghc-options:
302 -- if flag(prof)
303 -- cpp-options: -DPROFILING
304 -- ghc-options: -fprof-auto
305 -- build-depends:
306 -- base >= 4.6 && < 5
307 -- , containers >= 0.5 && < 0.6
308 -- , Decimal
309 -- , ghc-prim
310 -- , hcompta-lib
311 -- , hcompta-cli
312 -- , semigroups
313 -- , strict
314 -- , tasty >= 0.11
315 -- , tasty-hunit
316 -- , text
317 -- , text-format
318 -- , transformers >= 0.4 && < 0.5
319 -- , treemap
320
321 -- Test-Suite hcompta-lcc-test
322 -- type: exitcode-stdio-1.0
323 -- -- default-language: Haskell2010
324 -- extensions:
325 -- DataKinds
326 -- FlexibleContexts
327 -- FlexibleInstances
328 -- GeneralizedNewtypeDeriving
329 -- MultiParamTypeClasses
330 -- NamedFieldPuns
331 -- NoImplicitPrelude
332 -- OverloadedStrings
333 -- Rank2Types
334 -- ScopedTypeVariables
335 -- TupleSections
336 -- TypeApplications
337 -- TypeFamilies
338 -- TypeOperators
339 -- ghc-options: -Wall -fno-warn-tabs
340 -- -fprint-potential-instances
341 -- -main-is Test
342 -- hs-source-dirs: Hcompta/LCC
343 -- main-is: Test.hs
344 -- other-modules:
345 -- Read.Test
346 -- Write.Test
347 -- Chart.Test
348 -- if flag(threaded)
349 -- ghc-options: -threaded -rtsopts -with-rtsopts=-N
350 -- if flag(dev)
351 -- cpp-options: -DDEVELOPMENT
352 -- ghc-options:
353 -- if flag(prof)
354 -- cpp-options: -DPROFILING
355 -- ghc-options: -fprof-auto
356 -- build-depends:
357 -- base >= 4.6 && < 5
358 -- , Decimal
359 -- , containers >= 0.5 && < 0.6
360 -- , directory
361 -- , filepath
362 -- , hcompta-lcc
363 -- , hcompta-lib
364 -- , io-memoize
365 -- , megaparsec
366 -- , monad-classes
367 -- , mono-traversable
368 -- , safe-exceptions
369 -- , semigroups
370 -- , strict
371 -- , symantic
372 -- , symantic-document
373 -- , symantic-grammar
374 -- , symantic-lib
375 -- , tasty >= 0.11
376 -- , tasty-hunit
377 -- , text
378 -- , time
379 -- , transformers >= 0.4 && < 0.6
380 -- , treemap