hledger-0.27.1: hledger.cabal
-- This file has been generated from package.yaml by hpack version 0.5.4.
--
-- see: https://github.com/sol/hpack
name: hledger
version: 0.27.1
stability: stable
category: Finance, Console
synopsis: Command-line interface for the hledger accounting tool
description:
This is hledger’s command-line interface.
Its basic function is to read a plain text file describing
financial transactions and produce useful reports.
hledger is a cross-platform program for tracking money, time, or
any other commodity, using double-entry accounting and a simple,
editable file format. It is inspired by and largely compatible
with ledger(1). 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://bugs.hledger.org
cabal-version: >= 1.10
build-type: Simple
tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.1
extra-source-files:
CHANGES
README.md
test/test.hs
source-repository head
type: git
location: https://github.com/simonmichael/hledger
flag threaded
default: True
description:
Build with support for multithreaded execution
flag curses
default: True
description:
On POSIX systems, enable curses support for auto-detecting terminal width.
flag old-locale
default: False
description:
A compatibility flag, set automatically by cabal.
If false then depend on time >= 1.5,
if true then depend on time < 1.5 together with old-locale.
library
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
cpp-options: -DVERSION="0.27.1"
build-depends:
hledger-lib == 0.27.1
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, filepath
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, process
, regex-tdfa
, safe >= 0.2
, split >= 0.1 && < 0.3
, text >= 0.11
, tabular >= 0.2 && < 0.3
, utf8-string >= 0.3.5 && < 1.1
, wizards == 1.0.*
if impl(ghc >= 7.10)
-- ghc 7.10 requires shakespeare 2.0.2.2+
build-depends: shakespeare >= 2.0.2.2 && < 2.1
else
-- for older ghcs, allow shakespeare 1.x (which also requires shakespeare-text)
-- http://www.yesodweb.com/blog/2014/04/consolidation-progress
build-depends:
shakespeare >= 1.0 && < 2.1
,shakespeare-text >= 1.0 && < 1.2
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
if impl(ghc >= 7.4)
build-depends: pretty-show >= 1.6.4
if !os(windows) && flag(curses)
build-depends: terminfo
exposed-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.CliOptions
Hledger.Cli.Tests
Hledger.Cli.Utils
Hledger.Cli.Version
Hledger.Cli.Add
Hledger.Cli.Accounts
Hledger.Cli.Balance
Hledger.Cli.Balancesheet
Hledger.Cli.Cashflow
Hledger.Cli.Histogram
Hledger.Cli.Incomestatement
Hledger.Cli.Print
Hledger.Cli.Register
Hledger.Cli.Stats
Text.Tabular.AsciiWide
default-language: Haskell2010
executable hledger
main-is: hledger-cli.hs
hs-source-dirs:
app
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
if flag(threaded)
ghc-options: -threaded
cpp-options: -DVERSION="0.27.1"
build-depends:
hledger-lib == 0.27.1
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, filepath
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, process
, regex-tdfa
, safe >= 0.2
, split >= 0.1 && < 0.3
, text >= 0.11
, tabular >= 0.2 && < 0.3
, utf8-string >= 0.3.5 && < 1.1
, wizards == 1.0.*
, hledger == 0.27.1
if impl(ghc >= 7.10)
build-depends: shakespeare >= 2.0.2.2 && < 2.1
else
build-depends:
shakespeare >= 1.0 && < 2.1
,shakespeare-text >= 1.0 && < 1.2
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
if impl(ghc >= 7.4)
build-depends: pretty-show >= 1.6.4
if !os(windows) && flag(curses)
build-depends: terminfo
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
main-is: test.hs
hs-source-dirs:
test
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
cpp-options: -DVERSION="0.27.1"
build-depends:
hledger-lib == 0.27.1
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, filepath
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, process
, regex-tdfa
, safe >= 0.2
, split >= 0.1 && < 0.3
, text >= 0.11
, tabular >= 0.2 && < 0.3
, utf8-string >= 0.3.5 && < 1.1
, wizards == 1.0.*
, hledger
, test-framework
, test-framework-hunit
if impl(ghc >= 7.10)
build-depends: shakespeare >= 2.0.2.2 && < 2.1
else
build-depends:
shakespeare >= 1.0 && < 2.1
,shakespeare-text >= 1.0 && < 1.2
if impl(ghc >= 7.4)
build-depends: pretty-show >= 1.6.4
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
if !os(windows) && flag(curses)
build-depends: terminfo
default-language: Haskell2010
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: bench.hs
other-modules: SimpleBench
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
ghc-options: -fno-warn-type-defaults -fno-warn-orphans
default-language: Haskell2010
build-depends: hledger-lib,
hledger,
base >= 4.3 && < 5,
base-compat >= 0.8.1,
criterion,
html,
tabular >= 0.2 && < 0.3,
timeit,
process,
filepath,
directory
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5