2016-08-09 17:24:41 +03:00
|
|
|
name: hledger-lib
|
2017-01-05 21:28:15 +03:00
|
|
|
version: '1.1.98'
|
2016-08-09 17:24:41 +03:00
|
|
|
synopsis: Core data types, parsers and functionality for the hledger accounting tools
|
2016-08-09 21:27:00 +03:00
|
|
|
description: |
|
|
|
|
This is a reusable library containing hledger's core functionality.
|
|
|
|
|
2016-08-09 17:24:41 +03:00
|
|
|
hledger is a cross-platform program for tracking money, time, or
|
|
|
|
any other commodity, using double-entry accounting and a simple,
|
|
|
|
editable file format. It is inspired by and largely compatible
|
|
|
|
with ledger(1). hledger provides command-line, curses and web
|
|
|
|
interfaces, and aims to be a reliable, practical tool for daily
|
2016-08-09 21:27:00 +03:00
|
|
|
use.
|
2016-08-09 17:24:41 +03:00
|
|
|
category: Finance
|
2016-08-09 21:39:42 +03:00
|
|
|
license: GPL
|
2016-08-09 17:24:41 +03:00
|
|
|
author: Simon Michael <simon@joyful.com>
|
|
|
|
maintainer: Simon Michael <simon@joyful.com>
|
|
|
|
github: simonmichael/hledger
|
|
|
|
homepage: http://hledger.org
|
|
|
|
bug-reports: http://bugs.hledger.org
|
|
|
|
extra-source-files:
|
|
|
|
- CHANGES
|
|
|
|
- README
|
2016-08-09 21:39:42 +03:00
|
|
|
data-files:
|
|
|
|
- doc/hledger_csv.5
|
|
|
|
- doc/hledger_csv.5.txt
|
|
|
|
- doc/hledger_csv.5.info
|
|
|
|
- doc/hledger_journal.5
|
|
|
|
- doc/hledger_journal.5.txt
|
|
|
|
- doc/hledger_journal.5.info
|
|
|
|
- doc/hledger_timedot.5
|
|
|
|
- doc/hledger_timedot.5.txt
|
|
|
|
- doc/hledger_timedot.5.info
|
|
|
|
- doc/hledger_timeclock.5
|
|
|
|
- doc/hledger_timeclock.5.txt
|
|
|
|
- doc/hledger_timeclock.5.info
|
|
|
|
flags:
|
2016-08-09 22:03:23 +03:00
|
|
|
oldtime:
|
|
|
|
description: If building with time < 1.5, also depend on old-locale. Set automatically by cabal.
|
2016-08-09 21:39:42 +03:00
|
|
|
manual: false
|
|
|
|
default: false
|
2016-08-09 17:24:41 +03:00
|
|
|
dependencies:
|
2016-11-17 00:14:02 +03:00
|
|
|
- base >=4.8 && <5
|
2016-08-09 17:24:41 +03:00
|
|
|
- base-compat >=0.8.1
|
|
|
|
- array
|
|
|
|
- blaze-markup >=0.5.1
|
|
|
|
- bytestring
|
|
|
|
- cmdargs >=0.10 && <0.11
|
|
|
|
- containers
|
|
|
|
- csv
|
|
|
|
- data-default >=0.5
|
|
|
|
- Decimal
|
|
|
|
- deepseq
|
|
|
|
- directory
|
|
|
|
- filepath
|
2016-12-10 18:04:48 +03:00
|
|
|
- hashtables >= 1.2
|
2017-02-02 03:14:13 +03:00
|
|
|
- megaparsec >=5.0 && < 5.3
|
2016-08-09 17:24:41 +03:00
|
|
|
- mtl
|
|
|
|
- mtl-compat
|
|
|
|
- old-time
|
2016-08-09 22:16:24 +03:00
|
|
|
- pretty-show >=1.6.4
|
2016-08-09 17:24:41 +03:00
|
|
|
- regex-tdfa
|
|
|
|
- safe >=0.2
|
|
|
|
- split >=0.1 && <0.3
|
|
|
|
- text >=1.2 && <1.3
|
|
|
|
- transformers >=0.2 && <0.6
|
|
|
|
- uglymemo
|
|
|
|
- utf8-string >=0.3.5 && <1.1
|
|
|
|
- HUnit
|
2016-11-12 21:50:57 +03:00
|
|
|
# for ledger-parse:
|
|
|
|
- parsers >= 0.5
|
|
|
|
- system-filepath
|
|
|
|
- trifecta >= 0.91
|
2016-08-09 17:24:41 +03:00
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
|
|
|
- -fno-warn-unused-do-bind
|
|
|
|
- -fno-warn-name-shadowing
|
|
|
|
- -fno-warn-missing-signatures
|
|
|
|
- -fno-warn-type-defaults
|
|
|
|
- -fno-warn-orphans
|
2016-11-12 21:50:57 +03:00
|
|
|
source-dirs:
|
|
|
|
- other/ledger-parse
|
|
|
|
- .
|
2016-08-09 17:24:41 +03:00
|
|
|
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.Ledger
|
2017-02-04 05:20:00 +03:00
|
|
|
- Hledger.Data.MarketPrice
|
2016-08-09 17:24:41 +03:00
|
|
|
- Hledger.Data.Period
|
|
|
|
- Hledger.Data.StringFormat
|
|
|
|
- Hledger.Data.Posting
|
|
|
|
- Hledger.Data.RawOptions
|
|
|
|
- Hledger.Data.Timeclock
|
|
|
|
- Hledger.Data.Transaction
|
2017-01-20 18:33:24 +03:00
|
|
|
- Hledger.Data.AutoTransaction
|
2016-08-09 17:24:41 +03:00
|
|
|
- Hledger.Data.Types
|
|
|
|
- Hledger.Query
|
|
|
|
- Hledger.Read
|
|
|
|
- Hledger.Read.Common
|
|
|
|
- Hledger.Read.CsvReader
|
|
|
|
- Hledger.Read.JournalReader
|
2016-11-13 00:53:55 +03:00
|
|
|
- Hledger.Read.LedgerReader
|
2016-08-09 17:24:41 +03:00
|
|
|
- Hledger.Read.TimedotReader
|
|
|
|
- Hledger.Read.TimeclockReader
|
|
|
|
- Hledger.Reports
|
|
|
|
- Hledger.Reports.ReportOptions
|
|
|
|
- Hledger.Reports.BalanceHistoryReport
|
|
|
|
- Hledger.Reports.BalanceReport
|
|
|
|
- Hledger.Reports.EntriesReport
|
|
|
|
- Hledger.Reports.MultiBalanceReports
|
|
|
|
- Hledger.Reports.PostingsReport
|
|
|
|
- Hledger.Reports.TransactionsReports
|
|
|
|
- Hledger.Utils
|
|
|
|
- Hledger.Utils.Debug
|
|
|
|
- Hledger.Utils.Parse
|
|
|
|
- Hledger.Utils.Regex
|
|
|
|
- Hledger.Utils.String
|
|
|
|
- Hledger.Utils.Test
|
|
|
|
- Hledger.Utils.Text
|
|
|
|
- Hledger.Utils.Tree
|
|
|
|
- Hledger.Utils.UTF8IOCompat
|
2017-01-17 00:52:30 +03:00
|
|
|
other-modules:
|
|
|
|
- Ledger.Parser.Text
|
2016-08-09 17:24:41 +03:00
|
|
|
dependencies:
|
|
|
|
- parsec
|
|
|
|
- semigroups
|
|
|
|
when:
|
2016-08-09 22:22:38 +03:00
|
|
|
- condition: impl(ghc <7.6)
|
|
|
|
dependencies:
|
|
|
|
- ghc-prim
|
2016-08-09 22:03:23 +03:00
|
|
|
- condition: flag(oldtime)
|
2016-08-09 17:24:41 +03:00
|
|
|
then:
|
|
|
|
dependencies:
|
|
|
|
- time <1.5
|
|
|
|
- old-locale
|
|
|
|
else:
|
|
|
|
dependencies:
|
|
|
|
- time >=1.5
|
|
|
|
tests:
|
|
|
|
doctests:
|
|
|
|
main: doctests.hs
|
|
|
|
source-dirs: tests
|
|
|
|
dependencies:
|
|
|
|
- doctest >=0.8
|
2016-08-09 21:52:15 +03:00
|
|
|
- Glob >=0.7
|
2016-08-09 22:22:38 +03:00
|
|
|
when:
|
|
|
|
- condition: impl(ghc <7.6)
|
|
|
|
dependencies:
|
|
|
|
- ghc-prim
|
2016-08-09 17:24:41 +03:00
|
|
|
hunittests:
|
|
|
|
main: hunittests.hs
|
|
|
|
source-dirs: tests
|
|
|
|
dependencies:
|
|
|
|
- hledger-lib
|
2016-11-13 01:13:55 +03:00
|
|
|
- parsec
|
2016-08-09 17:24:41 +03:00
|
|
|
- test-framework
|
|
|
|
- test-framework-hunit
|
|
|
|
when:
|
2016-08-09 22:22:38 +03:00
|
|
|
- condition: impl(ghc <7.6)
|
|
|
|
dependencies:
|
|
|
|
- ghc-prim
|
2016-08-09 22:03:23 +03:00
|
|
|
- condition: flag(oldtime)
|
2016-08-09 17:24:41 +03:00
|
|
|
then:
|
|
|
|
dependencies:
|
|
|
|
- time <1.5
|
|
|
|
- old-locale
|
|
|
|
else:
|
|
|
|
dependencies:
|
|
|
|
- time >=1.5
|
|
|
|
stability: stable
|
2016-10-22 00:47:22 +03:00
|
|
|
tested-with: GHC==7.10.3, GHC==8.0
|