packages feed

hledger-1.4: hledger.cabal

-- This file has been generated from package.yaml by hpack version 0.17.1.
--
-- see: https://github.com/sol/hpack

name:           hledger
version:        1.4
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.
category:       Finance, Console
stability:      stable
homepage:       http://hledger.org
bug-reports:    http://bugs.hledger.org
author:         Simon Michael <simon@joyful.com>
maintainer:     Simon Michael <simon@joyful.com>
license:        GPL-3
license-file:   LICENSE
tested-with:    GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    bench/10000x1000x10.journal
    CHANGES
    README.md
    test/test.hs

data-files:
    doc/hledger.1
    doc/hledger.1.info
    doc/hledger.1.txt
    doc/other/hledger-api.1
    doc/other/hledger-api.1.info
    doc/other/hledger-api.1.txt
    doc/other/hledger-ui.1
    doc/other/hledger-ui.1.info
    doc/other/hledger-ui.1.txt
    doc/other/hledger-web.1
    doc/other/hledger-web.1.info
    doc/other/hledger-web.1.txt
    doc/other/hledger_csv.5
    doc/other/hledger_csv.5.info
    doc/other/hledger_csv.5.txt
    doc/other/hledger_journal.5
    doc/other/hledger_journal.5.info
    doc/other/hledger_journal.5.txt
    doc/other/hledger_timeclock.5
    doc/other/hledger_timeclock.5.info
    doc/other/hledger_timeclock.5.txt
    doc/other/hledger_timedot.5
    doc/other/hledger_timedot.5.info
    doc/other/hledger_timedot.5.txt

source-repository head
  type: git
  location: https://github.com/simonmichael/hledger

flag terminfo
  description: On POSIX systems, build with the terminfo lib for detecting terminal width.
  manual: False
  default: True

flag threaded
  description: Build with support for multithreaded execution
  manual: False
  default: True

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="1.4"
  build-depends:
      base >=4.8 && <5
    , base-compat >=0.8.1
    , ansi-terminal >= 0.6.2.3 && < 0.8
    , directory
    , file-embed >=0.0.10 && <0.1
    , filepath
    , here
    , pretty-show >=1.6.4
    , process
    , shakespeare >=2.0.2.2 && <2.1
    , temporary
    , tabular >=0.2 && <0.3
    , time >=1.5
    , utility-ht >= 0.0.13
    , hledger-lib >= 1.4 && < 1.5
    , bytestring
    , containers
    , unordered-containers
    , cmdargs >=0.10 && <0.11
    , csv
    , data-default >=0.5
    , Diff
    , hashable >=1.2.4
    , haskeline >=0.6 && <=0.8
    , HUnit
    , mtl
    , mtl-compat
    , old-time
    , megaparsec >=5.0 && < 6.2
    , regex-tdfa
    , safe >=0.2
    , split >=0.1 && <0.3
    , transformers
    , text >=0.11
    , utf8-string >=0.3.5 && <1.1
    , wizards ==1.0.*
  if (!(os(windows))) && (flag(terminfo))
    build-depends:
        terminfo
  exposed-modules:
      Hledger.Cli
      Hledger.Cli.Main
      Hledger.Cli.CliOptions
      Hledger.Cli.DocFiles
      Hledger.Cli.Utils
      Hledger.Cli.Version
      Hledger.Cli.Commands
      Hledger.Cli.Commands.Accounts
      Hledger.Cli.Commands.Activity
      Hledger.Cli.Commands.Add
      Hledger.Cli.Commands.Balance
      Hledger.Cli.Commands.Balancesheet
      Hledger.Cli.Commands.Balancesheetequity
      Hledger.Cli.Commands.Cashflow
      Hledger.Cli.Commands.Checkdates
      Hledger.Cli.Commands.Checkdupes
      Hledger.Cli.Commands.Equity
      Hledger.Cli.Commands.Help
      Hledger.Cli.Commands.Import
      Hledger.Cli.Commands.Incomestatement
      Hledger.Cli.Commands.Prices
      Hledger.Cli.Commands.Print
      Hledger.Cli.Commands.Printunique
      Hledger.Cli.Commands.Register
      Hledger.Cli.Commands.Registermatch
      Hledger.Cli.Commands.Rewrite
      Hledger.Cli.Commands.Stats
      Hledger.Cli.Commands.Tags
      Hledger.Cli.CompoundBalanceCommand
      Text.Tabular.AsciiWide
  other-modules:
      Paths_hledger
  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
  cpp-options: -DVERSION="1.4"
  build-depends:
      base >=4.8 && <5
    , base-compat >=0.8.1
    , ansi-terminal >= 0.6.2.3 && < 0.8
    , directory
    , file-embed >=0.0.10 && <0.1
    , filepath
    , here
    , pretty-show >=1.6.4
    , process
    , shakespeare >=2.0.2.2 && <2.1
    , temporary
    , tabular >=0.2 && <0.3
    , time >=1.5
    , utility-ht >= 0.0.13
    , hledger-lib >= 1.4 && < 1.5
    , hledger
    , bytestring
    , containers
    , unordered-containers
    , cmdargs >=0.10 && <0.11
    , csv
    , data-default >=0.5
    , haskeline >=0.6 && <=0.8
    , HUnit
    , mtl
    , mtl-compat
    , old-time
    , parsec >=3
    , regex-tdfa
    , safe >=0.2
    , split >=0.1 && <0.3
    , text >=0.11
    , utf8-string >=0.3.5 && <1.1
    , wizards ==1.0.*
  if (!(os(windows))) && (flag(terminfo))
    build-depends:
        terminfo
  if flag(threaded)
    ghc-options: -threaded
  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="1.4"
  build-depends:
      base >=4.8 && <5
    , base-compat >=0.8.1
    , ansi-terminal >= 0.6.2.3 && < 0.8
    , directory
    , file-embed >=0.0.10 && <0.1
    , filepath
    , here
    , pretty-show >=1.6.4
    , process
    , shakespeare >=2.0.2.2 && <2.1
    , temporary
    , tabular >=0.2 && <0.3
    , time >=1.5
    , utility-ht >= 0.0.13
    , hledger-lib >= 1.4 && < 1.5
    , hledger
    , bytestring
    , containers
    , unordered-containers
    , cmdargs >=0.10 && <0.11
    , csv
    , data-default >=0.5
    , haskeline >=0.6 && <=0.8
    , HUnit
    , mtl
    , mtl-compat
    , old-time
    , parsec >=3
    , regex-tdfa
    , safe >=0.2
    , split >=0.1 && <0.3
    , text >=0.11
    , utf8-string >=0.3.5 && <1.1
    , wizards ==1.0.*
    , test-framework
    , test-framework-hunit
  if (!(os(windows))) && (flag(terminfo))
    build-depends:
        terminfo
  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  main-is: bench.hs
  hs-source-dirs:
      bench
  ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
  build-depends:
      base >=4.8 && <5
    , base-compat >=0.8.1
    , ansi-terminal >= 0.6.2.3 && < 0.8
    , directory
    , file-embed >=0.0.10 && <0.1
    , filepath
    , here
    , pretty-show >=1.6.4
    , process
    , shakespeare >=2.0.2.2 && <2.1
    , temporary
    , tabular >=0.2 && <0.3
    , time >=1.5
    , utility-ht >= 0.0.13
    , hledger-lib >= 1.4 && < 1.5
    , hledger
    , criterion
    , html
    , timeit
  if (!(os(windows))) && (flag(terminfo))
    build-depends:
        terminfo
  default-language: Haskell2010