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-04-03 10:08:39 +04:00
|
|
|
Version: 0.4
|
2008-10-01 11:56:21 +04:00
|
|
|
Category: Finance
|
|
|
|
Synopsis: A ledger-compatible text-based accounting tool.
|
2009-01-18 00:03:34 +03:00
|
|
|
Description: hledger is a haskell clone of John Wiegley's "ledger" text-based
|
|
|
|
accounting tool (http://newartisans.com/software/ledger.html).
|
|
|
|
It generates ledger-compatible register & balance reports from a plain
|
|
|
|
text ledger file, 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
|
|
|
|
|
|
|
Flag happs
|
2009-04-02 11:22:04 +04:00
|
|
|
description: enable the webserver ui
|
2009-04-02 05:29:27 +04:00
|
|
|
default: False
|
|
|
|
|
2009-01-20 06:48:05 +03:00
|
|
|
Flag vty
|
2009-04-02 11:22:04 +04:00
|
|
|
description: enable the curses test ui
|
2009-01-20 06:48:05 +03:00
|
|
|
default: False
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 07:02:21 +03:00
|
|
|
Flag ansi
|
2009-04-02 11:22:04 +04:00
|
|
|
description: enable the ansi text ui (use instead of vty on MS windows)
|
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,
|
|
|
|
old-locale, time, HUnit, filepath
|
|
|
|
|
|
|
|
Exposed-modules:Ledger
|
|
|
|
Ledger.Account
|
|
|
|
Ledger.AccountName
|
|
|
|
Ledger.Amount
|
|
|
|
Ledger.Commodity
|
|
|
|
Ledger.Dates
|
|
|
|
Ledger.Entry
|
|
|
|
Ledger.RawLedger
|
|
|
|
Ledger.Ledger
|
|
|
|
Ledger.RawTransaction
|
|
|
|
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-02-27 06:31:47 +03:00
|
|
|
HUnit, mtl, bytestring, filepath, process, testpack
|
2009-02-13 23:30:03 +03:00
|
|
|
|
2009-04-02 05:29:27 +04:00
|
|
|
Other-Modules:
|
|
|
|
BalanceCommand
|
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
|
2008-10-10 08:05:46 +04:00
|
|
|
Ledger.Entry
|
|
|
|
Ledger.Ledger
|
|
|
|
Ledger.Parse
|
2009-04-02 05:29:27 +04:00
|
|
|
Ledger.RawLedger
|
|
|
|
Ledger.RawTransaction
|
2008-10-10 08:05:46 +04:00
|
|
|
Ledger.TimeLog
|
|
|
|
Ledger.Transaction
|
|
|
|
Ledger.Types
|
|
|
|
Ledger.Utils
|
2009-04-02 05:29:27 +04:00
|
|
|
|
|
|
|
-- how to set patchlevel in cabal builds ?
|
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-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
|
|
|
|
cpp-options: -DVTY
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 07:02:21 +03:00
|
|
|
if flag(ansi)
|
2009-04-02 05:29:27 +04:00
|
|
|
Build-Depends:ansi-terminal >= 0.5 && < 0.6
|
2009-01-20 07:02:21 +03:00
|
|
|
Other-Modules:ANSICommand
|
|
|
|
cpp-options: -DANSI
|
2009-04-02 05:29:27 +04:00
|
|
|
|
2009-01-20 07:04:40 +03:00
|
|
|
if flag(happs)
|
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
|
2009-01-20 07:04:40 +03:00
|
|
|
cpp-options: -DHAPPS
|
2008-10-01 11:56:21 +04:00
|
|
|
|