hledger/hledger/hledger.cabal
2016-05-17 09:04:53 -07:00

280 lines
7.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 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
stability: stable
category: Finance, Console
synopsis: Command-line interface for the hledger accounting tool
description:
This is hledgers 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
extra-source-files:
CHANGES
README.md
test/test.hs
bench/10000x1000x10.journal
data-files:
doc/hledger.1
doc/hledger.1.txt
doc/hledger.1.info
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"
build-depends:
hledger-lib == 0.27
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, bytestring
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, file-embed >= 0.0.10 && < 0.1
, 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
, temporary
, 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.DocFiles
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.Help
Hledger.Cli.Histogram
Hledger.Cli.Incomestatement
Hledger.Cli.Info
Hledger.Cli.Man
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"
build-depends:
hledger-lib == 0.27
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, bytestring
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, file-embed >= 0.0.10 && < 0.1
, 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
, temporary
, text >= 0.11
, tabular >= 0.2 && < 0.3
, utf8-string >= 0.3.5 && < 1.1
, wizards == 1.0.*
, hledger == 0.27
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"
build-depends:
hledger-lib == 0.27
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, bytestring
, containers
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
, directory
, file-embed >= 0.0.10 && < 0.1
, 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
, temporary
, 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,
temporary,
timeit,
process,
file-embed >= 0.0.10 && < 0.1,
filepath,
directory
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5