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,59 +1,82 @@
-- 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:
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.1
extra-source-files:
tests/suite.hs
CHANGES
-- README
-- sample.ledger
-- sample.timelog
source-repository head
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
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.
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.
default: False
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
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
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
@ -62,9 +85,9 @@ library
Hledger.Data.Amount
Hledger.Data.Commodity
Hledger.Data.Dates
Hledger.Data.OutputFormat
Hledger.Data.Journal
Hledger.Data.Ledger
Hledger.Data.OutputFormat
Hledger.Data.Posting
Hledger.Data.RawOptions
Hledger.Data.TimeLog
@ -87,76 +110,45 @@ library
Hledger.Utils.Debug
Hledger.Utils.Regex
Hledger.Utils.UTF8IOCompat
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
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
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
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
, cmdargs
, bytestring
, cmdargs >= 0.10 && < 0.11
, containers
, csv
-- , data-pprint >= 0.2.3 && < 0.3
, Decimal
, directory
, filepath
, HUnit
, mtl
, mtl-compat
, old-time
, parsec >= 3
, regex-tdfa
, safe
, split
, 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
, transformers
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
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,16 +20,17 @@ 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
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
@ -38,6 +41,8 @@ extra-source-files:
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
@ -81,85 +86,47 @@ extra-source-files:
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
source-repository head
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.
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.
default: False
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"
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
hledger-lib == 0.26
, hledger == 0.26
, base >= 4 && < 5
, base-compat >= 0.8.1
, blaze-html
@ -191,48 +158,47 @@ library
, yesod-form
, yesod-static
, json
-- required by extra ghci utilities:
-- , fsnotify
-- , hsdev
-- , mtl
, 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
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
if flag(dev)
ghc-options: -O0
extensions:
CPP
MultiParamTypeClasses
NoImplicitPrelude
OverloadedStrings
QuasiQuotes
RecordWildCards
TemplateHaskell
TypeFamilies
hs-source-dirs: app
main-is: main.hs
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
@ -247,10 +213,10 @@ executable hledger-web
, http-conduit
, http-client
, HUnit
, conduit-extra
, conduit-extra >= 1.1
, parsec >= 3
, safe >= 0.2
, shakespeare >= 2.0 && < 2.1
, shakespeare >= 2.0
, template-haskell
, text
, transformers
@ -264,25 +230,60 @@ executable hledger-web
, yesod-form
, yesod-static
, json
-- required by extra ghci utilities:
-- , fsnotify
-- , hsdev
-- , mtl
, 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
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-web == 0.26
, base
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
, 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
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
test/test.hs
source-repository head
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.
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.
default: False
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.*
, 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,77 +98,44 @@ 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
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:
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
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
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
, unordered-containers
, cmdargs >= 0.10 && < 0.11
, csv
-- , data-pprint >= 0.2.1 && < 0.3
, directory
, filepath
, haskeline
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
, mtl-compat
@ -191,15 +143,69 @@ test-suite test
, parsec >= 3
, process
, regex-tdfa
, safe
, split
,tabular >= 0.2 && < 0.3
, 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
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
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.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
, text
, transformers
, wizards == 1.0.*
-- as above
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