summaryrefslogtreecommitdiff
path: root/hledger-lib.cabal
blob: 5997d2259da967ca7fe1f36f2ed612349b7742d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 84b9a4a7bf3049275178ede9a44418e46548ddce8bdbd182d32caccb5cb51f3f

name:           hledger-lib
version:        1.20.3
synopsis:       A reusable library providing the core functionality of hledger
description:    A reusable library containing hledger's core functionality.
                This is used by most hledger* packages so that they support the same
                common file formats, command line options, reports etc.
                .
                hledger is a robust, cross-platform set of tools for tracking money,
                time, or any other commodity, using double-entry accounting and a
                simple, editable file format, with command-line, terminal and web
                interfaces. It is a Haskell rewrite of Ledger, and one of the leading
                implementations of Plain Text Accounting. Read more at:
                <https://hledger.org>
category:       Finance
stability:      stable
homepage:       http://hledger.org
bug-reports:    http://bugs.hledger.org
author:         Simon Michael <simon@joyful.com>
maintainer:     Simon Michael <simon@joyful.com>
license:        GPL-3
license-file:   LICENSE
tested-with:    GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.3, GHC==8.10.0.20200123
build-type:     Simple
extra-source-files:
    CHANGES.md
    README.md
    test/unittest.hs
    test/doctests.hs
    hledger_csv.5
    hledger_csv.txt
    hledger_csv.info
    hledger_journal.5
    hledger_journal.txt
    hledger_journal.info
    hledger_timedot.5
    hledger_timedot.txt
    hledger_timedot.info
    hledger_timeclock.5
    hledger_timeclock.txt
    hledger_timeclock.info

source-repository head
  type: git
  location: https://github.com/simonmichael/hledger

library
  exposed-modules:
      Hledger
      Hledger.Data
      Hledger.Data.Account
      Hledger.Data.AccountName
      Hledger.Data.Amount
      Hledger.Data.Commodity
      Hledger.Data.Dates
      Hledger.Data.Journal
      Hledger.Data.Json
      Hledger.Data.Ledger
      Hledger.Data.Period
      Hledger.Data.PeriodicTransaction
      Hledger.Data.StringFormat
      Hledger.Data.Posting
      Hledger.Data.RawOptions
      Hledger.Data.Timeclock
      Hledger.Data.Transaction
      Hledger.Data.TransactionModifier
      Hledger.Data.Types
      Hledger.Data.Valuation
      Hledger.Query
      Hledger.Read
      Hledger.Read.Common
      Hledger.Read.CsvReader
      Hledger.Read.JournalReader
      Hledger.Read.TimedotReader
      Hledger.Read.TimeclockReader
      Hledger.Reports
      Hledger.Reports.ReportOptions
      Hledger.Reports.ReportTypes
      Hledger.Reports.AccountTransactionsReport
      Hledger.Reports.BalanceReport
      Hledger.Reports.BudgetReport
      Hledger.Reports.EntriesReport
      Hledger.Reports.MultiBalanceReport
      Hledger.Reports.PostingsReport
      Hledger.Reports.TransactionsReport
      Hledger.Utils
      Hledger.Utils.Color
      Hledger.Utils.Debug
      Hledger.Utils.Parse
      Hledger.Utils.Regex
      Hledger.Utils.String
      Hledger.Utils.Test
      Hledger.Utils.Text
      Hledger.Utils.Tree
      Hledger.Utils.UTF8IOCompat
      Text.Tabular.AsciiWide
  other-modules:
      Text.Megaparsec.Custom
      Text.WideString
      Paths_hledger_lib
  hs-source-dirs:
      ./.
  ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
  build-depends:
      Decimal >=0.5.1
    , Glob >=0.9
    , aeson >=1
    , aeson-pretty
    , ansi-terminal >=0.9
    , array
    , base >=4.9 && <4.15
    , base-compat-batteries >=0.10.1 && <0.12
    , blaze-markup >=0.5.1
    , bytestring
    , call-stack
    , cassava
    , cassava-megaparsec
    , cmdargs >=0.10
    , containers
    , data-default >=0.5
    , directory
    , extra >=1.6.3
    , file-embed >=0.0.10
    , filepath
    , hashtables >=1.2.3.1
    , megaparsec >=7.0.0 && <9.1
    , mtl >=2.2.1
    , old-time
    , parser-combinators >=0.4.0
    , pretty-simple >4 && <5
    , regex-tdfa
    , safe >=0.2
    , split >=0.1
    , tabular >=0.2
    , tasty >=1.2.3
    , tasty-hunit >=0.10.0.2
    , template-haskell
    , text >=1.2
    , time >=1.5
    , timeit
    , transformers >=0.2
    , uglymemo
    , unordered-containers >=0.2
    , utf8-string >=0.3.5
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: doctests.hs
  hs-source-dirs:
      ./.
      test
  ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
  build-depends:
      Decimal >=0.5.1
    , Glob >=0.7
    , aeson >=1
    , aeson-pretty
    , ansi-terminal >=0.9
    , array
    , base >=4.9 && <4.15
    , base-compat-batteries >=0.10.1 && <0.12
    , blaze-markup >=0.5.1
    , bytestring
    , call-stack
    , cassava
    , cassava-megaparsec
    , cmdargs >=0.10
    , containers
    , data-default >=0.5
    , directory
    , doctest >=0.16.3
    , extra >=1.6.3
    , file-embed >=0.0.10
    , filepath
    , hashtables >=1.2.3.1
    , megaparsec >=7.0.0 && <9.1
    , mtl >=2.2.1
    , old-time
    , parser-combinators >=0.4.0
    , pretty-simple >4 && <5
    , regex-tdfa
    , safe >=0.2
    , split >=0.1
    , tabular >=0.2
    , tasty >=1.2.3
    , tasty-hunit >=0.10.0.2
    , template-haskell
    , text >=1.2
    , time >=1.5
    , timeit
    , transformers >=0.2
    , uglymemo
    , unordered-containers >=0.2
    , utf8-string >=0.3.5
  if (impl(ghc < 8.2))
    buildable: False
  default-language: Haskell2010

test-suite unittest
  type: exitcode-stdio-1.0
  main-is: unittest.hs
  hs-source-dirs:
      ./.
      test
  ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
  build-depends:
      Decimal >=0.5.1
    , Glob >=0.9
    , aeson >=1
    , aeson-pretty
    , ansi-terminal >=0.9
    , array
    , base >=4.9 && <4.15
    , base-compat-batteries >=0.10.1 && <0.12
    , blaze-markup >=0.5.1
    , bytestring
    , call-stack
    , cassava
    , cassava-megaparsec
    , cmdargs >=0.10
    , containers
    , data-default >=0.5
    , directory
    , extra >=1.6.3
    , file-embed >=0.0.10
    , filepath
    , hashtables >=1.2.3.1
    , hledger-lib
    , megaparsec >=7.0.0 && <9.1
    , mtl >=2.2.1
    , old-time
    , parser-combinators >=0.4.0
    , pretty-simple >4 && <5
    , regex-tdfa
    , safe >=0.2
    , split >=0.1
    , tabular >=0.2
    , tasty >=1.2.3
    , tasty-hunit >=0.10.0.2
    , template-haskell
    , text >=1.2
    , time >=1.5
    , timeit
    , transformers >=0.2
    , uglymemo
    , unordered-containers >=0.2
    , utf8-string >=0.3.5
  buildable: True
  default-language: Haskell2010