2008-10-01 11:56:21 +04:00
|
|
|
Name: hledger
|
2009-02-27 05:55:54 +03:00
|
|
|
-- updated by build process from VERSION
|
2009-05-24 04:42:26 +04:00
|
|
|
Version: 0.5.1
|
2008-10-01 11:56:21 +04:00
|
|
|
Category: Finance
|
|
|
|
Synopsis: A ledger-compatible text-based accounting tool.
|
2009-04-03 09:58:14 +04:00
|
|
|
Description: hledger is a partial haskell clone of John Wiegley's "ledger" text-based
|
|
|
|
accounting tool. It generates ledger-compatible register & balance reports
|
|
|
|
from a plain text journal, and demonstrates a functional implementation of ledger.
|
2008-10-01 11:56:21 +04:00
|
|
|
License: GPL
|
2008-11-24 01:30:36 +03:00
|
|
|
Stability: beta
|
2008-10-01 11:56:21 +04:00
|
|
|
Author: Simon Michael <simon@joyful.com>
|
|
|
|
Maintainer: Simon Michael <simon@joyful.com>
|
2009-04-02 05:32:17 +04:00
|
|
|
Homepage: http://hledger.org
|
2008-10-01 11:56:21 +04:00
|
|
|
Tested-With: GHC
|
|
|
|
Build-Type: Simple
|
2008-10-01 12:42:08 +04:00
|
|
|
License-File: LICENSE
|
2008-10-01 12:51:08 +04:00
|
|
|
Extra-Source-Files: README sample.ledger
|
2008-10-01 11:56:21 +04:00
|
|
|
Extra-Tmp-Files:
|
|
|
|
Cabal-Version: >= 1.2
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 06:48:05 +03:00
|
|
|
Flag vty
|
2009-04-03 08:17:48 +04:00
|
|
|
description: enable the curses ui
|
|
|
|
default: True
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-04-03 08:17:48 +04:00
|
|
|
Flag happs
|
|
|
|
description: enable the web ui
|
2009-01-20 07:04:40 +03:00
|
|
|
default: False
|
2008-10-01 11:56:21 +04:00
|
|
|
|
2009-04-02 05:29:27 +04:00
|
|
|
Library
|
|
|
|
Build-Depends: base, containers, haskell98, directory, parsec, regex-compat,
|
2009-05-15 00:44:06 +04:00
|
|
|
old-locale, time, HUnit, filepath, utf8-string
|
2009-04-02 05:29:27 +04:00
|
|
|
|
|
|
|
Exposed-modules:Ledger
|
|
|
|
Ledger.Account
|
|
|
|
Ledger.AccountName
|
|
|
|
Ledger.Amount
|
|
|
|
Ledger.Commodity
|
|
|
|
Ledger.Dates
|
2009-04-04 12:50:36 +04:00
|
|
|
Ledger.IO
|
2009-04-03 14:58:05 +04:00
|
|
|
Ledger.LedgerTransaction
|
2009-04-02 05:29:27 +04:00
|
|
|
Ledger.RawLedger
|
|
|
|
Ledger.Ledger
|
2009-04-03 14:58:05 +04:00
|
|
|
Ledger.Posting
|
2009-04-02 05:29:27 +04:00
|
|
|
Ledger.Parse
|
|
|
|
Ledger.TimeLog
|
|
|
|
Ledger.Transaction
|
|
|
|
Ledger.Types
|
|
|
|
Ledger.Utils
|
|
|
|
|
2008-10-01 11:56:21 +04:00
|
|
|
Executable hledger
|
|
|
|
Main-Is: hledger.hs
|
2009-02-13 23:30:03 +03:00
|
|
|
|
|
|
|
Build-Depends: base, containers, haskell98, directory, parsec,
|
|
|
|
regex-compat, regexpr>=0.5.1, old-locale, time,
|
2009-04-10 07:10:58 +04:00
|
|
|
HUnit, mtl, bytestring, filepath, process, testpack,
|
2009-05-15 00:44:06 +04:00
|
|
|
regex-pcre, csv, split, utf8-string
|
2009-02-13 23:30:03 +03:00
|
|
|
|
2009-04-02 05:29:27 +04:00
|
|
|
Other-Modules:
|
2009-04-08 09:36:32 +04:00
|
|
|
AddCommand
|
2009-04-02 05:29:27 +04:00
|
|
|
BalanceCommand
|
2009-04-08 09:36:32 +04:00
|
|
|
HistogramCommand
|
2008-10-10 08:05:46 +04:00
|
|
|
Options
|
|
|
|
PrintCommand
|
|
|
|
RegisterCommand
|
|
|
|
Setup
|
|
|
|
Tests
|
2008-10-16 01:38:55 +04:00
|
|
|
Utils
|
2009-04-03 10:13:52 +04:00
|
|
|
Version
|
2008-10-10 08:05:46 +04:00
|
|
|
Ledger
|
|
|
|
Ledger.Account
|
|
|
|
Ledger.AccountName
|
|
|
|
Ledger.Amount
|
2008-10-16 01:38:55 +04:00
|
|
|
Ledger.Commodity
|
2008-11-23 22:55:50 +03:00
|
|
|
Ledger.Dates
|
2009-04-04 12:50:36 +04:00
|
|
|
Ledger.IO
|
2009-04-03 14:58:05 +04:00
|
|
|
Ledger.LedgerTransaction
|
2008-10-10 08:05:46 +04:00
|
|
|
Ledger.Ledger
|
|
|
|
Ledger.Parse
|
2009-04-02 05:29:27 +04:00
|
|
|
Ledger.RawLedger
|
2009-04-03 14:58:05 +04:00
|
|
|
Ledger.Posting
|
2008-10-10 08:05:46 +04:00
|
|
|
Ledger.TimeLog
|
|
|
|
Ledger.Transaction
|
|
|
|
Ledger.Types
|
|
|
|
Ledger.Utils
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-04-04 13:25:35 +04:00
|
|
|
-- need to set patchlevel here (darcs changes --from-tag=. --count)
|
2009-02-27 08:50:12 +03:00
|
|
|
cpp-options: -DPATCHES=0
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 06:48:05 +03:00
|
|
|
if flag(vty)
|
2009-04-03 08:17:48 +04:00
|
|
|
cpp-options: -DVTY
|
2009-04-02 05:29:27 +04:00
|
|
|
Build-Depends:vty >= 3.1.8.2 && < 3.2
|
2009-01-20 06:48:05 +03:00
|
|
|
Other-Modules:UICommand
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 07:04:40 +03:00
|
|
|
if flag(happs)
|
2009-04-03 08:17:48 +04:00
|
|
|
cpp-options: -DHAPPS
|
2009-04-02 05:29:27 +04:00
|
|
|
Build-Depends:happstack >= 0.2 && < 0.3
|
|
|
|
,happstack-data >= 0.2 && < 0.3
|
|
|
|
,happstack-server >= 0.2 && < 0.3
|
|
|
|
,happstack-state >= 0.2 && < 0.3
|
|
|
|
,utf8-string >= 0.3 && < 0.4
|
2009-02-13 23:12:34 +03:00
|
|
|
Other-Modules:WebCommand
|
2008-10-01 11:56:21 +04:00
|
|
|
|