hledger/hledger.cabal

108 lines
3.3 KiB
Plaintext
Raw Normal View History

2008-10-01 11:56:21 +04:00
Name: hledger
-- 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
Flag happs
2009-04-02 11:22:04 +04:00
description: enable the webserver ui
default: False
Flag vty
2009-04-02 11:22:04 +04:00
description: enable the curses test ui
default: False
Flag ansi
2009-04-02 11:22:04 +04:00
description: enable the ansi text ui (use instead of vty on MS windows)
default: False
2008-10-01 11:56:21 +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,
HUnit, mtl, bytestring, filepath, process, testpack
2009-02-13 23:30:03 +03: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
Ledger.RawLedger
Ledger.RawTransaction
2008-10-10 08:05:46 +04:00
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
2008-10-01 11:56:21 +04:00