hledger/hledger-lib/hledger-lib.cabal

163 lines
5.4 KiB
Plaintext
Raw Normal View History

name: hledger-lib
2015-04-28 23:48:23 +03:00
version: 0.25.98
stability: stable
category: Finance, Console
synopsis: Core data types, parsers and utilities for the hledger accounting tool.
description:
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.
license: GPL
license-file: LICENSE
author: Simon Michael <simon@joyful.com>
maintainer: Simon Michael <simon@joyful.com>
homepage: http://hledger.org
bug-reports: http://hledger.org/bugs
tested-with: GHC==7.8.4, GHC==7.10.1
2013-05-15 23:47:28 +04:00
cabal-version: >= 1.10
build-type: Simple
2010-09-10 05:45:12 +04:00
-- data-dir: data
-- data-files:
-- extra-tmp-files:
extra-source-files:
tests/suite.hs
CHANGES
-- README
-- sample.ledger
-- sample.timelog
source-repository head
type: git
location: https://github.com/simonmichael/hledger
flag double
description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
default: False
manual: True
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
library
-- should set patchlevel here as in Makefile
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
if flag(double)
cpp-options: -DDOUBLE
default-language: Haskell2010
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
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
Hledger.Read
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
Hledger.Utils.Regex
Hledger.Utils.UTF8IOCompat
build-depends:
base >= 4.3 && < 5
,base-compat >= 0.8.1
,array
,blaze-markup >= 0.5.1
,bytestring
,cmdargs >= 0.10 && < 0.11
,containers
,csv
-- ,data-pprint >= 0.2.3 && < 0.3
,Decimal
,directory
,filepath
,mtl
,mtl-compat
,old-time
,parsec >= 3
,regex-tdfa
2010-04-15 02:38:54 +04:00
,safe >= 0.2
,split >= 0.1 && < 0.3
2014-06-22 07:13:16 +04:00
,transformers >= 0.2 && < 0.5
,utf8-string >= 0.3.5 && < 1.1
,HUnit
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
test-suite tests
type: exitcode-stdio-1.0
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
default-language: Haskell2010
2013-05-15 23:47:28 +04:00
build-depends: hledger-lib
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, array
, blaze-markup >= 0.5.1
2013-05-15 23:47:28 +04:00
, cmdargs
, containers
, csv
-- , data-pprint >= 0.2.3 && < 0.3
, Decimal
2013-05-15 23:47:28 +04:00
, directory
, filepath
, HUnit
, mtl
, mtl-compat
2013-05-15 23:47:28 +04:00
, old-time
, parsec >= 3
, regex-tdfa
2013-05-15 23:47:28 +04:00
, safe
, split
, test-framework
, test-framework-hunit
, transformers
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
-- 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