switch to hpack-generated cabal files

The hledger-lib, hledger and hledger-web cabal files are now generated
from the package.yaml files with hpack, plus some manual fixups.
This commit is contained in:
Simon Michael 2015-08-12 22:45:08 -07:00
parent b91f2b85d0
commit a9b2e5409c
3 changed files with 500 additions and 500 deletions

View File

@ -1,162 +1,154 @@
-- This file has been generated from package.yaml by hpack version 0.5.4.
--
-- see: https://github.com/sol/hpack
name: hledger-lib
version: 0.26
stability: stable
category: Finance, Console
synopsis: Core data types, parsers and utilities for the hledger accounting tool.
description:
hledger is a library and set of user tools for working
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://hledger.org/bugs
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.1
cabal-version: >= 1.10
build-type: Simple
-- data-dir: data
-- data-files:
-- extra-tmp-files:
extra-source-files:
tests/suite.hs
CHANGES
-- README
-- sample.ledger
-- sample.timelog
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.1
extra-source-files:
CHANGES
source-repository head
type: git
type: git
location: https://github.com/simonmichael/hledger
flag double
description: Use old Double number representation (instead of Decimal), for testing/benchmarking.
default: False
manual: True
manual: True
default: False
description:
Use old Double number representation (instead of Decimal), for testing/benchmarking.
flag old-locale
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.
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
-- should set patchlevel here as in Makefile
cpp-options: -DPATCHLEVEL=0
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
if flag(double)
cpp-options: -DDOUBLE
default-language: Haskell2010
exposed-modules:
Hledger
Hledger.Data
Hledger.Data.Account
Hledger.Data.AccountName
Hledger.Data.Amount
Hledger.Data.Commodity
Hledger.Data.Dates
Hledger.Data.OutputFormat
Hledger.Data.Journal
Hledger.Data.Ledger
Hledger.Data.Posting
Hledger.Data.RawOptions
Hledger.Data.TimeLog
Hledger.Data.Transaction
Hledger.Data.Types
Hledger.Query
Hledger.Read
Hledger.Read.CsvReader
Hledger.Read.JournalReader
Hledger.Read.TimelogReader
Hledger.Reports
Hledger.Reports.ReportOptions
Hledger.Reports.BalanceHistoryReport
Hledger.Reports.BalanceReport
Hledger.Reports.EntriesReport
Hledger.Reports.MultiBalanceReports
Hledger.Reports.PostingsReport
Hledger.Reports.TransactionsReports
Hledger.Utils
Hledger.Utils.Debug
Hledger.Utils.Regex
Hledger.Utils.UTF8IOCompat
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.3 && < 5
,base-compat >= 0.8.1
,array
,blaze-markup >= 0.5.1
,bytestring
,cmdargs >= 0.10 && < 0.11
,containers
,csv
-- ,data-pprint >= 0.2.3 && < 0.3
,Decimal
,directory
,filepath
,mtl
,mtl-compat
,old-time
,parsec >= 3
,regex-tdfa
,safe >= 0.2
,split >= 0.1 && < 0.3
,transformers >= 0.2 && < 0.5
,utf8-string >= 0.3.5 && < 1.1
,HUnit
base >= 4.3 && < 5
, base-compat >= 0.8.1
, array
, blaze-markup >= 0.5.1
, bytestring
, cmdargs >= 0.10 && < 0.11
, containers
, csv
, Decimal
, directory
, filepath
, mtl
, mtl-compat
, old-time
, parsec >= 3
, regex-tdfa
, safe >= 0.2
, split >= 0.1 && < 0.3
, transformers >= 0.2 && < 0.5
, utf8-string >= 0.3.5 && < 1.1
, HUnit
, pretty-show >= 1.6.4
, time >= 1.5
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
exposed-modules:
Hledger
Hledger.Data
Hledger.Data.Account
Hledger.Data.AccountName
Hledger.Data.Amount
Hledger.Data.Commodity
Hledger.Data.Dates
Hledger.Data.Journal
Hledger.Data.Ledger
Hledger.Data.OutputFormat
Hledger.Data.Posting
Hledger.Data.RawOptions
Hledger.Data.TimeLog
Hledger.Data.Transaction
Hledger.Data.Types
Hledger.Query
Hledger.Read
Hledger.Read.CsvReader
Hledger.Read.JournalReader
Hledger.Read.TimelogReader
Hledger.Reports
Hledger.Reports.ReportOptions
Hledger.Reports.BalanceHistoryReport
Hledger.Reports.BalanceReport
Hledger.Reports.EntriesReport
Hledger.Reports.MultiBalanceReports
Hledger.Reports.PostingsReport
Hledger.Reports.TransactionsReports
Hledger.Utils
Hledger.Utils.Debug
Hledger.Utils.Regex
Hledger.Utils.UTF8IOCompat
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
main-is: suite.hs
hs-source-dirs: tests
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
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, array
, blaze-markup >= 0.5.1
, cmdargs
, containers
, csv
-- , data-pprint >= 0.2.3 && < 0.3
, Decimal
, directory
, filepath
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, regex-tdfa
, safe
, split
, test-framework
, test-framework-hunit
, transformers
type: exitcode-stdio-1.0
main-is: suite.hs
hs-source-dirs:
tests
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.3 && < 5
, base-compat >= 0.8.1
, array
, blaze-markup >= 0.5.1
, bytestring
, cmdargs >= 0.10 && < 0.11
, containers
, csv
, Decimal
, directory
, filepath
, mtl
, mtl-compat
, old-time
, parsec >= 3
, regex-tdfa
, safe >= 0.2
, split >= 0.1 && < 0.3
, transformers >= 0.2 && < 0.5
, utf8-string >= 0.3.5 && < 1.1
, HUnit
, pretty-show >= 1.6.4
, time >= 1.5
, hledger-lib
, test-framework
, test-framework-hunit
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
-- cf http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html
-- Additional dependencies:
-- required for make test: test-framework, test-framework-hunit
-- required for make bench: tabular-0.1
default-language: Haskell2010

View File

@ -1,16 +1,18 @@
-- This file has been generated from package.yaml by hpack version 0.5.4.
--
-- see: https://github.com/sol/hpack
name: hledger-web
version: 0.26
version: 0.26
stability: stable
category: Finance
synopsis: A web interface for the hledger accounting tool.
description:
hledger is a library and set of user tools for working
synopsis: A web 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>
@ -18,271 +20,270 @@ maintainer: Simon Michael <simon@joyful.com>
homepage: http://hledger.org
bug-reports: http://hledger.org/bugs
tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.1
cabal-version: >= 1.8
cabal-version: >= 1.10
build-type: Simple
extra-tmp-files:
extra-source-files:
messages/en.msg
config/favicon.ico
config/keter.yaml
config/robots.txt
config/routes
config/settings.yml
static/css/bootstrap-theme.css
static/css/bootstrap-theme.css.map
static/css/bootstrap-theme.min.css
static/css/bootstrap.css
static/css/bootstrap.css.map
static/css/bootstrap.min.css
static/fonts/glyphicons-halflings-regular.eot
static/fonts/glyphicons-halflings-regular.svg
static/fonts/glyphicons-halflings-regular.ttf
static/fonts/glyphicons-halflings-regular.woff
static/js/bootstrap.js
static/js/bootstrap.min.js
static/js/excanvas.js
static/js/excanvas.min.js
static/js/jquery.cookie.js
static/js/jquery.flot.canvas.js
static/js/jquery.flot.canvas.min.js
static/js/jquery.flot.categories.js
static/js/jquery.flot.categories.min.js
static/js/jquery.flot.crosshair.js
static/js/jquery.flot.crosshair.min.js
static/js/jquery.flot.errorbars.js
static/js/jquery.flot.errorbars.min.js
static/js/jquery.flot.fillbetween.js
static/js/jquery.flot.fillbetween.min.js
static/js/jquery.flot.image.js
static/js/jquery.flot.image.min.js
static/js/jquery.flot.js
static/js/jquery.flot.min.js
static/js/jquery.flot.navigate.js
static/js/jquery.flot.navigate.min.js
static/js/jquery.flot.pie.js
static/js/jquery.flot.pie.min.js
static/js/jquery.flot.resize.js
static/js/jquery.flot.resize.min.js
static/js/jquery.flot.selection.js
static/js/jquery.flot.selection.min.js
static/js/jquery.flot.stack.js
static/js/jquery.flot.stack.min.js
static/js/jquery.flot.symbol.js
static/js/jquery.flot.symbol.min.js
static/js/jquery.flot.threshold.js
static/js/jquery.flot.threshold.min.js
static/js/jquery.flot.time.js
static/js/jquery.flot.time.min.js
static/js/jquery.flot.tooltip.js
static/js/jquery.flot.tooltip.min.js
static/js/jquery.hotkeys.js
static/js/jquery.js
static/js/jquery.min.js
static/js/jquery.url.js
static/js/typeahead.bundle.js
static/js/typeahead.bundle.min.js
static/hledger.css
static/hledger.js
templates/default-layout-wrapper.hamlet
templates/default-layout.hamlet
templates/homepage.hamlet
templates/homepage.julius
templates/homepage.lucius
templates/normalize.lucius
tests/HomeTest.hs
tests/TestImport.hs
CHANGES
CHANGES
config/favicon.ico
config/keter.yaml
config/robots.txt
config/routes
config/settings.yml
messages/en.msg
static/css/bootstrap-theme.css
static/css/bootstrap-theme.css.map
static/css/bootstrap-theme.min.css
static/css/bootstrap.css
static/css/bootstrap.css.map
static/css/bootstrap.min.css
static/fonts/glyphicons-halflings-regular.eot
static/fonts/glyphicons-halflings-regular.svg
static/fonts/glyphicons-halflings-regular.ttf
static/fonts/glyphicons-halflings-regular.woff
static/hledger.css
static/hledger.js
static/js/bootstrap.js
static/js/bootstrap.min.js
static/js/excanvas.js
static/js/excanvas.min.js
static/js/jquery.cookie.js
static/js/jquery.flot.canvas.js
static/js/jquery.flot.canvas.min.js
static/js/jquery.flot.categories.js
static/js/jquery.flot.categories.min.js
static/js/jquery.flot.crosshair.js
static/js/jquery.flot.crosshair.min.js
static/js/jquery.flot.errorbars.js
static/js/jquery.flot.errorbars.min.js
static/js/jquery.flot.fillbetween.js
static/js/jquery.flot.fillbetween.min.js
static/js/jquery.flot.image.js
static/js/jquery.flot.image.min.js
static/js/jquery.flot.js
static/js/jquery.flot.min.js
static/js/jquery.flot.navigate.js
static/js/jquery.flot.navigate.min.js
static/js/jquery.flot.pie.js
static/js/jquery.flot.pie.min.js
static/js/jquery.flot.resize.js
static/js/jquery.flot.resize.min.js
static/js/jquery.flot.selection.js
static/js/jquery.flot.selection.min.js
static/js/jquery.flot.stack.js
static/js/jquery.flot.stack.min.js
static/js/jquery.flot.symbol.js
static/js/jquery.flot.symbol.min.js
static/js/jquery.flot.threshold.js
static/js/jquery.flot.threshold.min.js
static/js/jquery.flot.time.js
static/js/jquery.flot.time.min.js
static/js/jquery.flot.tooltip.js
static/js/jquery.flot.tooltip.min.js
static/js/jquery.hotkeys.js
static/js/jquery.js
static/js/jquery.min.js
static/js/jquery.url.js
static/js/typeahead.bundle.js
static/js/typeahead.bundle.min.js
templates/default-layout-wrapper.hamlet
templates/default-layout.hamlet
templates/homepage.hamlet
templates/homepage.julius
templates/homepage.lucius
templates/normalize.lucius
source-repository head
type: git
type: git
location: https://github.com/simonmichael/hledger
flag threaded
Description: Build with support for multithreaded execution.
Default: True
default: True
description:
Build with support for multithreaded execution.
flag dev
Description: Turn on development settings, like auto-reload templates.
Default: False
default: False
description:
Turn on development settings, like auto-reload templates.
flag library-only
Description: Build for use with "yesod devel"
Default: False
default: False
description:
Build for use with "yesod devel"
flag old-locale
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.
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
cpp-options: -DVERSION="0.26"
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.26"
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
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
extensions:
CPP
MultiParamTypeClasses
NoImplicitPrelude
OverloadedStrings
QuasiQuotes
RecordWildCards
TemplateHaskell
TypeFamilies
-- seem to not be needed at present:
-- GADTs
-- GeneralizedNewtypeDeriving
-- FlexibleContexts
-- EmptyDataDecls
-- NoMonomorphismRestriction
exposed-modules: Application
Foundation
Import
Settings
Settings.StaticFiles
Settings.Development
Handler.AddForm
Handler.Common
Handler.JournalR
Handler.RegisterR
Handler.RootR
Handler.SidebarR
Handler.Utils
-- other-modules:
Hledger.Web
Hledger.Web.Main
Hledger.Web.Options
-- Setup -- stops yesod devel complaining, requires build-depends: Cabal
build-depends:
hledger == 0.26
, hledger-lib == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
, blaze-markup
, bytestring
, clientsession
, cmdargs >= 0.10 && < 0.11
, data-default
, directory
, filepath
, hjsmin
, http-conduit
, http-client
, HUnit
, conduit-extra >= 1.1
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0
, template-haskell
, text
, transformers
, wai
, wai-extra
, wai-handler-launch >= 1.3
, warp
, yaml
, yesod >= 1.4 && < 1.5
, yesod-core
, yesod-form
, yesod-static
, json
-- required by extra ghci utilities:
-- , fsnotify
-- , hsdev
-- , mtl
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
hledger-lib == 0.26
, hledger == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
, blaze-markup
, bytestring
, clientsession
, cmdargs >= 0.10 && < 0.11
, data-default
, directory
, filepath
, hjsmin
, http-conduit
, http-client
, HUnit
, conduit-extra >= 1.1
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0
, template-haskell
, text
, transformers
, wai
, wai-extra
, wai-handler-launch >= 1.3
, warp
, yaml
, yesod >= 1.4 && < 1.5
, yesod-core
, yesod-form
, yesod-static
, json
, time >= 1.5
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
exposed-modules:
Application
Foundation
Handler.AddForm
Handler.Common
Handler.JournalR
Handler.RegisterR
Handler.RootR
Handler.SidebarR
Handler.Utils
Hledger.Web
Hledger.Web.Main
Hledger.Web.Options
Import
Settings
Settings.Development
Settings.StaticFiles
default-language: Haskell2010
executable hledger-web
executable hledger-web
if flag(library-only)
Buildable: False
cpp-options: -DVERSION="0.26"
if flag(dev)
cpp-options: -DDEVELOPMENT
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
buildable: False
main-is: main.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 -threaded
if flag(threaded)
ghc-options: -threaded
ghc-options: -threaded
if flag(dev)
ghc-options: -O0
extensions:
CPP
MultiParamTypeClasses
NoImplicitPrelude
OverloadedStrings
QuasiQuotes
RecordWildCards
TemplateHaskell
TypeFamilies
hs-source-dirs: app
main-is: main.hs
ghc-options: -O0
cpp-options: -DVERSION="0.26"
if flag(dev)
cpp-options: -DDEVELOPMENT
build-depends:
hledger-lib == 0.26
, hledger == 0.26
, hledger-web == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
, blaze-markup
, bytestring
, clientsession
, cmdargs >= 0.10 && < 0.11
, data-default
, directory
, filepath
, hjsmin
, http-conduit
, http-client
, HUnit
, conduit-extra
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0 && < 2.1
, template-haskell
, text
, transformers
, wai
, wai-extra
, wai-handler-launch >= 1.3
, warp
, yaml
, yesod >= 1.4 && < 1.5
, yesod-core
, yesod-form
, yesod-static
, json
-- required by extra ghci utilities:
-- , fsnotify
-- , hsdev
-- , mtl
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
hledger-lib == 0.26
, hledger == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
, blaze-markup
, bytestring
, clientsession
, cmdargs >= 0.10 && < 0.11
, data-default
, directory
, filepath
, hjsmin
, http-conduit
, http-client
, HUnit
, conduit-extra >= 1.1
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0
, template-haskell
, text
, transformers
, wai
, wai-extra
, wai-handler-launch >= 1.3
, warp
, yaml
, yesod >= 1.4 && < 1.5
, yesod-core
, yesod-form
, yesod-static
, json
, time >= 1.5
, hledger-web == 0.26
if flag(old-locale)
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
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
hs-source-dirs: tests
main-is: main.hs
build-depends:
hledger-web == 0.26
, base
, base-compat >= 0.8.1
, hspec
, yesod
, yesod-test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs:
tests
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.26"
build-depends:
hledger-lib == 0.26
, hledger == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
, blaze-markup
, bytestring
, clientsession
, cmdargs >= 0.10 && < 0.11
, data-default
, directory
, filepath
, hjsmin
, http-conduit
, http-client
, HUnit
, conduit-extra >= 1.1
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0
, template-haskell
, text
, transformers
, wai
, wai-extra
, wai-handler-launch >= 1.3
, warp
, yaml
, yesod >= 1.4 && < 1.5
, yesod-core
, yesod-form
, yesod-static
, json
, time >= 1.5
, hledger-web
, hspec
, yesod-test
other-modules:
HomeTest
TestImport
default-language: Haskell2010

View File

@ -1,100 +1,85 @@
-- This file has been generated from package.yaml by hpack version 0.5.4.
--
-- see: https://github.com/sol/hpack
name: hledger
version: 0.26
version: 0.26
stability: stable
category: Finance, Console
synopsis: The main command-line interface for the hledger accounting tool.
description:
hledger is a library and set of user tools for working
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://hledger.org/bugs
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.1
cabal-version: >= 1.10
build-type: Simple
-- data-dir: data
-- data-files:
extra-tmp-files:
extra-source-files:
test/test.hs
CHANGES
README.md
extra-source-files:
CHANGES
README.md
test/test.hs
source-repository head
type: git
type: git
location: https://github.com/simonmichael/hledger
flag threaded
Description: Build with support for multithreaded execution
Default: True
default: True
description:
Build with support for multithreaded execution
flag curses
Description: On POSIX systems, enable curses support for auto-detecting terminal width.
Default: True
default: True
description:
On POSIX systems, enable curses support for auto-detecting terminal width.
flag old-locale
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.
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.26"
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
exposed-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.Options
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
build-depends:
hledger-lib == 0.26
,base >= 4.3 && < 5
,base-compat >= 0.8.1
-- ,cabal-file-th
,containers
,unordered-containers
,cmdargs >= 0.10 && < 0.11
,csv
-- ,data-pprint >= 0.2.1 && < 0.3
,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-lib == 0.26
, 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.*
, shakespeare >= 2.0.2.2 && < 2.1
, terminfo
, pretty-show >= 1.6.4
, time >= 1.5
if impl(ghc >= 7.10)
-- ghc 7.10 requires shakespeare 2.0.2.2+
build-depends: shakespeare >= 2.0.2.2 && < 2.1
@ -113,44 +98,62 @@ library
if !os(windows) && flag(curses)
build-depends: terminfo
exposed-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.Options
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
default-language: Haskell2010
executable hledger
main-is: hledger-cli.hs
hs-source-dirs: app
default-language: Haskell2010
cpp-options: -DVERSION="0.26"
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
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 -threaded
if flag(threaded)
ghc-options: -threaded
-- same as above:
ghc-options: -threaded
cpp-options: -DVERSION="0.26"
build-depends:
hledger-lib == 0.26
,hledger == 0.26
,base >= 4.3 && < 5
,base-compat >= 0.8.1
,containers
,unordered-containers
,cmdargs >= 0.10 && < 0.11
,csv
-- ,data-pprint >= 0.2.1 && < 0.3
,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
,tabular >= 0.2 && < 0.3
,text >= 0.11
,utf8-string >= 0.3.5 && < 1.1
,wizards == 1.0.*
-- as above
hledger-lib == 0.26
, 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.*
, shakespeare >= 2.0.2.2 && < 2.1
, terminfo
, pretty-show >= 1.6.4
, time >= 1.5
, hledger == 0.26
if impl(ghc >= 7.10)
build-depends: shakespeare >= 2.0.2.2 && < 2.1
else
@ -163,43 +166,46 @@ executable hledger
build-depends: time >= 1.5
if impl(ghc >= 7.4)
build-depends: pretty-show >= 1.6.4
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
main-is: test.hs
hs-source-dirs: test
default-language: Haskell2010
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
-- same as above:
build-depends: hledger-lib
, hledger
, base >= 4.3 && < 5
, base-compat >= 0.8.1
, cmdargs
, containers
, csv
-- , data-pprint >= 0.2.1 && < 0.3
, directory
, filepath
, haskeline
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, process
, regex-tdfa
, safe
, split
,tabular >= 0.2 && < 0.3
, test-framework
, test-framework-hunit
, text
, transformers
, wizards == 1.0.*
-- as above
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.26"
build-depends:
hledger-lib == 0.26
, 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.*
, shakespeare >= 2.0.2.2 && < 2.1
, terminfo
, pretty-show >= 1.6.4
, time >= 1.5
, hledger
, test-framework
, test-framework-hunit
if impl(ghc >= 7.10)
build-depends: shakespeare >= 2.0.2.2 && < 2.1
else
@ -212,12 +218,13 @@ test-suite test
build-depends: time < 1.5, old-locale
else
build-depends: time >= 1.5
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