2010-03-22 04:44:59 +03:00
|
|
|
name: hledger-lib
|
2015-04-28 23:48:23 +03:00
|
|
|
version: 0.25.98
|
2014-05-01 19:20:05 +04:00
|
|
|
stability: stable
|
|
|
|
category: Finance, Console
|
2011-09-02 04:28:27 +04:00
|
|
|
synopsis: Core data types, parsers and utilities for the hledger accounting tool.
|
2010-03-22 04:44:59 +03:00
|
|
|
description:
|
2011-09-02 04:28:27 +04:00
|
|
|
hledger is a library and set of user tools for working
|
|
|
|
with financial data (or anything that can be tracked in a
|
|
|
|
double-entry accounting ledger.) It is a haskell port and
|
|
|
|
friendly fork of John Wiegley's Ledger. hledger provides
|
|
|
|
command-line, curses and web interfaces, and aims to be a
|
|
|
|
reliable, practical tool for daily use.
|
2010-03-22 04:44:59 +03:00
|
|
|
|
|
|
|
license: GPL
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Simon Michael <simon@joyful.com>
|
|
|
|
maintainer: Simon Michael <simon@joyful.com>
|
|
|
|
homepage: http://hledger.org
|
2013-05-03 17:46:23 +04:00
|
|
|
bug-reports: http://hledger.org/bugs
|
2015-03-28 01:44:39 +03:00
|
|
|
tested-with: GHC==7.8.4, GHC==7.10.1
|
2013-05-15 23:47:28 +04:00
|
|
|
cabal-version: >= 1.10
|
2010-03-22 04:44:59 +03:00
|
|
|
build-type: Simple
|
2010-09-10 05:45:12 +04:00
|
|
|
-- data-dir: data
|
2010-03-22 04:44:59 +03:00
|
|
|
-- data-files:
|
|
|
|
-- extra-tmp-files:
|
2014-04-17 04:28:30 +04:00
|
|
|
extra-source-files:
|
|
|
|
tests/suite.hs
|
|
|
|
CHANGES
|
2010-03-22 04:44:59 +03:00
|
|
|
-- README
|
|
|
|
-- sample.ledger
|
|
|
|
-- sample.timelog
|
|
|
|
|
2014-10-19 20:37:18 +04:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/simonmichael/hledger
|
|
|
|
|
2014-10-18 23:09:43 +04:00
|
|
|
flag double
|
2015-03-28 01:46:57 +03:00
|
|
|
description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
|
|
|
|
default: False
|
|
|
|
manual: True
|
2014-10-19 20:37:18 +04:00
|
|
|
|
2015-03-28 01:42:32 +03:00
|
|
|
flag old-locale
|
|
|
|
description: A compatibility flag, set automatically by cabal.
|
|
|
|
If false then depend on time >= 1.5,
|
|
|
|
if true then depend on time < 1.5 together with old-locale.
|
|
|
|
default: False
|
|
|
|
|
2015-03-29 17:53:23 +03:00
|
|
|
|
2010-03-22 04:44:59 +03:00
|
|
|
library
|
2010-07-10 17:58:35 +04:00
|
|
|
-- should set patchlevel here as in Makefile
|
2014-10-19 20:37:18 +04:00
|
|
|
cpp-options: -DPATCHLEVEL=0
|
2014-10-18 20:59:11 +04:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
|
|
|
|
ghc-options: -fno-warn-type-defaults -fno-warn-orphans
|
2014-10-18 23:09:43 +04:00
|
|
|
if flag(double)
|
|
|
|
cpp-options: -DDOUBLE
|
2014-03-27 23:29:34 +04:00
|
|
|
default-language: Haskell2010
|
2010-03-22 04:44:59 +03:00
|
|
|
exposed-modules:
|
2011-06-07 10:11:59 +04:00
|
|
|
Hledger
|
2010-05-20 03:08:53 +04:00
|
|
|
Hledger.Data
|
|
|
|
Hledger.Data.Account
|
|
|
|
Hledger.Data.AccountName
|
|
|
|
Hledger.Data.Amount
|
|
|
|
Hledger.Data.Commodity
|
|
|
|
Hledger.Data.Dates
|
2014-03-03 01:33:56 +04:00
|
|
|
Hledger.Data.OutputFormat
|
2010-05-20 03:08:53 +04:00
|
|
|
Hledger.Data.Journal
|
|
|
|
Hledger.Data.Ledger
|
|
|
|
Hledger.Data.Posting
|
2014-03-26 04:10:30 +04:00
|
|
|
Hledger.Data.RawOptions
|
2010-05-20 03:08:53 +04:00
|
|
|
Hledger.Data.TimeLog
|
2012-05-29 06:52:16 +04:00
|
|
|
Hledger.Data.Transaction
|
2010-05-20 03:08:53 +04:00
|
|
|
Hledger.Data.Types
|
2012-05-16 11:57:10 +04:00
|
|
|
Hledger.Query
|
2010-05-30 23:11:58 +04:00
|
|
|
Hledger.Read
|
2012-03-26 04:36:41 +04:00
|
|
|
Hledger.Read.CsvReader
|
2010-11-15 10:01:46 +03:00
|
|
|
Hledger.Read.JournalReader
|
|
|
|
Hledger.Read.TimelogReader
|
2011-08-16 02:59:06 +04:00
|
|
|
Hledger.Reports
|
2014-03-20 04:11:48 +04:00
|
|
|
Hledger.Reports.ReportOptions
|
|
|
|
Hledger.Reports.BalanceHistoryReport
|
|
|
|
Hledger.Reports.BalanceReport
|
|
|
|
Hledger.Reports.EntriesReport
|
|
|
|
Hledger.Reports.MultiBalanceReports
|
|
|
|
Hledger.Reports.PostingsReport
|
|
|
|
Hledger.Reports.TransactionsReports
|
2011-05-28 08:11:44 +04:00
|
|
|
Hledger.Utils
|
2014-10-29 03:21:33 +03:00
|
|
|
Hledger.Utils.Debug
|
2014-07-06 21:11:02 +04:00
|
|
|
Hledger.Utils.Regex
|
2012-03-29 23:06:31 +04:00
|
|
|
Hledger.Utils.UTF8IOCompat
|
2013-09-27 02:06:48 +04:00
|
|
|
build-depends:
|
2012-07-08 04:22:20 +04:00
|
|
|
base >= 4.3 && < 5
|
2015-04-29 17:16:08 +03:00
|
|
|
,base-compat >= 0.8.1
|
2014-10-29 17:46:49 +03:00
|
|
|
,array
|
2014-10-18 23:09:43 +04:00
|
|
|
,blaze-markup >= 0.5.1
|
2011-01-21 04:24:51 +03:00
|
|
|
,bytestring
|
2012-10-08 20:50:35 +04:00
|
|
|
,cmdargs >= 0.10 && < 0.11
|
2010-03-22 04:44:59 +03:00
|
|
|
,containers
|
2012-03-26 04:36:41 +04:00
|
|
|
,csv
|
2014-03-20 03:11:46 +04:00
|
|
|
-- ,data-pprint >= 0.2.3 && < 0.3
|
2014-10-18 23:09:43 +04:00
|
|
|
,Decimal
|
2010-03-22 04:44:59 +03:00
|
|
|
,directory
|
|
|
|
,filepath
|
|
|
|
,mtl
|
2015-03-29 17:53:23 +03:00
|
|
|
,mtl-compat
|
2010-03-22 04:44:59 +03:00
|
|
|
,old-time
|
2014-11-03 08:52:12 +03:00
|
|
|
,parsec >= 3
|
2013-12-28 22:31:58 +04:00
|
|
|
,regex-tdfa
|
2010-04-15 02:38:54 +04:00
|
|
|
,safe >= 0.2
|
2012-10-08 20:50:35 +04:00
|
|
|
,split >= 0.1 && < 0.3
|
2014-06-22 07:13:16 +04:00
|
|
|
,transformers >= 0.2 && < 0.5
|
2015-03-15 21:06:53 +03:00
|
|
|
,utf8-string >= 0.3.5 && < 1.1
|
2010-03-22 04:44:59 +03:00
|
|
|
,HUnit
|
2014-03-27 23:29:34 +04:00
|
|
|
if impl(ghc >= 7.4)
|
|
|
|
build-depends: pretty-show >= 1.6.4
|
2015-03-28 01:42:32 +03:00
|
|
|
if flag(old-locale)
|
|
|
|
build-depends: time < 1.5, old-locale
|
|
|
|
else
|
|
|
|
build-depends: time >= 1.5
|
2010-03-22 04:44:59 +03:00
|
|
|
|
2015-03-29 17:53:23 +03:00
|
|
|
|
2013-05-15 23:47:28 +04:00
|
|
|
test-suite tests
|
|
|
|
type: exitcode-stdio-1.0
|
2014-10-19 20:37:18 +04:00
|
|
|
main-is: suite.hs
|
|
|
|
hs-source-dirs: tests
|
2014-10-18 20:59:11 +04:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
|
|
|
|
ghc-options: -fno-warn-type-defaults -fno-warn-orphans
|
2014-03-27 23:29:34 +04:00
|
|
|
default-language: Haskell2010
|
2013-05-15 23:47:28 +04:00
|
|
|
build-depends: hledger-lib
|
|
|
|
, base >= 4.3 && < 5
|
2015-04-29 17:16:08 +03:00
|
|
|
, base-compat >= 0.8.1
|
2014-10-29 17:46:49 +03:00
|
|
|
, array
|
2014-10-18 23:09:43 +04:00
|
|
|
, blaze-markup >= 0.5.1
|
2013-05-15 23:47:28 +04:00
|
|
|
, cmdargs
|
|
|
|
, containers
|
|
|
|
, csv
|
2014-03-20 03:11:46 +04:00
|
|
|
-- , data-pprint >= 0.2.3 && < 0.3
|
2014-10-18 23:09:43 +04:00
|
|
|
, Decimal
|
2013-05-15 23:47:28 +04:00
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
, HUnit
|
|
|
|
, mtl
|
2015-03-29 17:53:23 +03:00
|
|
|
, mtl-compat
|
2013-05-15 23:47:28 +04:00
|
|
|
, old-time
|
2014-11-03 08:52:12 +03:00
|
|
|
, parsec >= 3
|
2013-12-28 22:31:58 +04:00
|
|
|
, regex-tdfa
|
2013-05-15 23:47:28 +04:00
|
|
|
, safe
|
|
|
|
, split
|
|
|
|
, test-framework
|
|
|
|
, test-framework-hunit
|
|
|
|
, transformers
|
2014-03-27 23:29:34 +04:00
|
|
|
if impl(ghc >= 7.4)
|
|
|
|
build-depends: pretty-show >= 1.6.4
|
2015-03-28 01:42:32 +03:00
|
|
|
if flag(old-locale)
|
|
|
|
build-depends: time < 1.5, old-locale
|
|
|
|
else
|
|
|
|
build-depends: time >= 1.5
|
2013-05-15 23:47:28 +04:00
|
|
|
|
2010-03-22 04:44:59 +03:00
|
|
|
-- cf http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html
|
|
|
|
|
|
|
|
-- Additional dependencies:
|
|
|
|
-- required for make test: test-framework, test-framework-hunit
|
|
|
|
-- required for make bench: tabular-0.1
|