hledger/hledger/hledger.cabal
2012-11-24 15:34:53 +00:00

139 lines
4.7 KiB
Plaintext

name: hledger
-- also in cpp-options below
version: 0.19.2
category: Finance
synopsis: The main command-line interface for the hledger accounting tool.
description:
hledger is a library and set of user tools for working
with financial data (or anything that can be tracked in a
double-entry accounting ledger.) It is a haskell port and
friendly fork of John Wiegley's Ledger. hledger provides
command-line, curses and web interfaces, and aims to be a
reliable, practical tool for daily use.
license: GPL
license-file: LICENSE
author: Simon Michael <simon@joyful.com>
maintainer: Simon Michael <simon@joyful.com>
homepage: http://hledger.org
bug-reports: http://code.google.com/p/hledger/issues
stability: beta
tested-with: GHC==7.0.4, GHC==7.2.2, GHC==7.4.1, GHC==7.6.1
cabal-version: >= 1.8
build-type: Simple
-- data-dir: data
-- data-files:
extra-tmp-files:
extra-source-files:
-- Cabal-Version: >= 1.9.2
-- Test-Suite test-hledger
-- type: exitcode-stdio-1.0
-- main-is: test-hledger.hs
-- build-depends: base
source-repository head
type: darcs
location: http://joyful.com/repos/hledger
flag threaded
Description: Build with support for multithreaded execution
Default: True
library
cpp-options: -DVERSION="0.19.2"
ghc-options: -W
-- should be the same as below
exposed-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.Options
Hledger.Cli.Tests
Hledger.Cli.Utils
Hledger.Cli.Version
Hledger.Cli.Add
Hledger.Cli.Balance
Hledger.Cli.Balancesheet
Hledger.Cli.Cashflow
Hledger.Cli.Histogram
Hledger.Cli.Incomestatement
Hledger.Cli.Print
Hledger.Cli.Register
Hledger.Cli.Stats
-- should be the same as below
build-depends:
hledger-lib == 0.19.1
,base >= 4.3 && < 5
-- ,cabal-file-th
,containers
,cmdargs >= 0.10 && < 0.11
,directory
,filepath
,haskeline >= 0.6 && <= 0.8
,HUnit
,mtl
,old-locale
,old-time
,parsec
,process
,regexpr >= 0.5.1
,safe >= 0.2
,shakespeare-text == 1.0.*
,split >= 0.1 && < 0.3
,text == 0.11.*
,time
,utf8-string >= 0.3.5 && < 0.4
-- should depend on the above to avoid double compilation but this is
-- still too complicated as of 2011/6/1 because:
-- - breaks haddock, http://hackage.haskell.org/trac/hackage/ticket/656
-- - library and executable must have different hs-source-dirs
-- - the exe may need to list all the lib's dependencies
-- - how it works seems ghc version dependent
-- leksah is reported to have this working, http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal
executable hledger
main-is: hledger-cli.hs
-- should be the same as above
other-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.Options
Hledger.Cli.Tests
Hledger.Cli.Utils
Hledger.Cli.Version
Hledger.Cli.Add
Hledger.Cli.Balance
Hledger.Cli.Balancesheet
Hledger.Cli.Cashflow
Hledger.Cli.Histogram
Hledger.Cli.Incomestatement
Hledger.Cli.Print
Hledger.Cli.Register
Hledger.Cli.Stats
cpp-options: -DVERSION="0.19.2"
ghc-options: -W
if flag(threaded)
ghc-options: -threaded
-- should be the same as above
build-depends:
hledger-lib == 0.19.1
,base >= 4.3 && < 5
,containers
,cmdargs >= 0.10 && < 0.11
,directory
,filepath
,haskeline >= 0.6 && <= 0.8
,HUnit
,mtl
,old-locale
,old-time
,parsec
,process
,regexpr >= 0.5.1
,safe >= 0.2
,shakespeare-text == 1.0.*
,split >= 0.1 && < 0.3
,text == 0.11.*
,time
,utf8-string >= 0.3.5 && < 0.4