hledger/hledger.cabal
Simon Michael f1e193aef1 polish
2009-04-03 05:58:14 +00:00

107 lines
3.2 KiB
Plaintext

Name: hledger
-- updated by build process from VERSION
Version: 0.4
Category: Finance
Synopsis: A ledger-compatible text-based accounting tool.
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.
License: GPL
Stability: beta
Author: Simon Michael <simon@joyful.com>
Maintainer: Simon Michael <simon@joyful.com>
Homepage: http://hledger.org
Tested-With: GHC
Build-Type: Simple
License-File: LICENSE
Extra-Source-Files: README sample.ledger
Extra-Tmp-Files:
Cabal-Version: >= 1.2
Flag happs
description: enable the webserver ui
default: False
Flag vty
description: enable the curses test ui
default: False
Flag ansi
description: enable the ansi text ui (use instead of vty on MS windows)
default: False
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
Executable hledger
Main-Is: hledger.hs
Build-Depends: base, containers, haskell98, directory, parsec,
regex-compat, regexpr>=0.5.1, old-locale, time,
HUnit, mtl, bytestring, filepath, process, testpack
Other-Modules:
BalanceCommand
Options
PrintCommand
RegisterCommand
Setup
Tests
Utils
Version
Ledger
Ledger.Account
Ledger.AccountName
Ledger.Amount
Ledger.Commodity
Ledger.Dates
Ledger.Entry
Ledger.Ledger
Ledger.Parse
Ledger.RawLedger
Ledger.RawTransaction
Ledger.TimeLog
Ledger.Transaction
Ledger.Types
Ledger.Utils
-- how to set patchlevel in cabal builds ?
cpp-options: -DPATCHES=0
if flag(vty)
Build-Depends:vty >= 3.1.8.2 && < 3.2
Other-Modules:UICommand
cpp-options: -DVTY
if flag(ansi)
Build-Depends:ansi-terminal >= 0.5 && < 0.6
Other-Modules:ANSICommand
cpp-options: -DANSI
if flag(happs)
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
Other-Modules:WebCommand
cpp-options: -DHAPPS