]> Git — Sourcephile - comptalang.git/blob - lib/hcompta-lib.cabal
Commit old WIP.
[comptalang.git] / lib / hcompta-lib.cabal
1 name: hcompta-lib
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 3.0.0.20170704
6 category: Finance
7 synopsis: Accounting software.
8 description: Accounting.
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.24
20 tested-with: GHC==8.2.2
21 extra-source-files:
22 stack.yaml
23 extra-tmp-files:
24
25 Source-Repository head
26 location: git://git.autogeree.net/hcompta
27 type: git
28
29 Flag prof
30 Default: False
31 Description: Turn on profiling settings.
32 Manual: True
33
34 Flag threaded
35 Default: False
36 Description: Enable threads.
37 Manual: True
38
39 Library
40 exposed-modules:
41 Hcompta
42 Hcompta.Balance
43 Hcompta.Data
44 Hcompta.Date
45 Hcompta.GL
46 Hcompta.Lib.Foldable
47 Hcompta.Lib.Strict
48 Hcompta.Quantity
49 default-language: Haskell2010
50 default-extensions:
51 NoImplicitPrelude
52 BangPatterns
53 DeriveDataTypeable
54 FlexibleContexts
55 FlexibleInstances
56 GeneralizedNewtypeDeriving
57 MultiParamTypeClasses
58 NamedFieldPuns
59 OverloadedStrings
60 RecordWildCards
61 ScopedTypeVariables
62 TupleSections
63 TypeApplications
64 TypeFamilies
65 TypeOperators
66 ghc-options:
67 -Wall
68 -Wincomplete-uni-patterns
69 -Wincomplete-record-updates
70 -fno-warn-tabs
71 -fhide-source-paths
72 if flag(prof)
73 cpp-options: -DPROFILING
74 ghc-options: -fprof-auto
75 -- if flag(double)
76 -- cpp-options: -DDOUBLE
77 build-depends:
78 base >= 4.6 && < 5
79 , containers >= 0.5 && < 0.6
80 , Decimal
81 , deepseq >= 1.4
82 , directory
83 , filepath
84 -- , integer-gmp
85 , mono-traversable
86 , semigroups
87 , strict
88 , text
89 , time
90 , transformers >= 0.5
91 , treemap
92 , unix >= 2.7.2.0
93 -- , symantic
94 -- , trace
95 -- , ansi-terminal >= 0.4 && < 0.7
96 -- , array
97 -- , collections-api
98 -- , collections-base-instances
99 -- , fingertree
100 -- , HUnit
101 -- , interval
102 -- , lens
103 -- , mmorph
104 -- , regex-base
105 -- , regex-tdfa
106 -- , regex-tdfa-text
107 -- , safe >= 0.2
108
109 Test-Suite hcompta-test
110 type: exitcode-stdio-1.0
111 hs-source-dirs: test
112 main-is: Main.hs
113 other-modules:
114 -- Account.Test
115 HUnit.Balance
116 default-language: Haskell2010
117 default-extensions:
118 NoImplicitPrelude
119 ghc-options:
120 -Wall
121 -Wincomplete-uni-patterns
122 -Wincomplete-record-updates
123 -fno-warn-tabs
124 -fhide-source-paths
125 if flag(threaded)
126 ghc-options: -threaded -rtsopts -with-rtsopts=-N
127 if flag(prof)
128 cpp-options: -DPROFILING
129 ghc-options: -fprof-auto
130 build-depends:
131 base >= 4.6 && < 5
132 , containers >= 0.5 && < 0.6
133 , Decimal
134 , hcompta-lib
135 , mono-traversable
136 , semigroups
137 , strict
138 , tasty >= 0.11
139 , tasty-hunit
140 , text
141 , transformers >= 0.4 && < 0.6
142 , treemap