2010-09-10 02:54:34 +04:00
|
|
|
name: hledger-web
|
2013-09-23 09:38:27 +04:00
|
|
|
version: 0.21.98
|
2010-09-10 02:54:34 +04:00
|
|
|
category: Finance
|
2011-04-19 04:50:47 +04:00
|
|
|
synopsis: A web interface for the hledger accounting tool.
|
2010-09-10 02:54:34 +04:00
|
|
|
description:
|
2011-09-02 04:28:27 +04:00
|
|
|
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.
|
2011-04-19 04:50:47 +04:00
|
|
|
|
2010-09-10 02:54:34 +04:00
|
|
|
license: GPL
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Simon Michael <simon@joyful.com>
|
2010-09-11 05:47:46 +04:00
|
|
|
maintainer: Simon Michael <simon@joyful.com>
|
2010-09-10 02:54:34 +04:00
|
|
|
homepage: http://hledger.org
|
2013-05-03 17:46:23 +04:00
|
|
|
bug-reports: http://hledger.org/bugs
|
2010-11-26 22:59:23 +03:00
|
|
|
stability: beta
|
2013-04-19 23:26:05 +04:00
|
|
|
tested-with: GHC==7.4.2, GHC==7.6.1
|
2012-11-15 21:48:48 +04:00
|
|
|
cabal-version: >= 1.8
|
2010-09-10 02:54:34 +04:00
|
|
|
build-type: Simple
|
|
|
|
extra-tmp-files:
|
|
|
|
extra-source-files:
|
2012-11-16 21:08:54 +04:00
|
|
|
messages/en.msg
|
|
|
|
config/routes
|
2013-01-11 18:49:28 +04:00
|
|
|
static/css/bootstrap.css
|
2013-04-22 18:34:33 +04:00
|
|
|
static/select2.css
|
|
|
|
static/select2.min.js
|
|
|
|
static/select2-spinner.gif
|
|
|
|
static/select2.png
|
2011-10-05 02:45:45 +04:00
|
|
|
static/excanvas.min.js
|
|
|
|
static/favicon.ico
|
2013-01-11 18:49:28 +04:00
|
|
|
static/hledger.js
|
|
|
|
static/img/glyphicons-halflings-white.png
|
|
|
|
static/img/glyphicons-halflings.png
|
|
|
|
static/jquery.flot.js
|
|
|
|
static/jquery.js
|
|
|
|
static/jquery.url.js
|
|
|
|
static/style.css
|
2013-01-24 21:07:21 +04:00
|
|
|
templates/default-layout.hamlet
|
|
|
|
templates/default-layout-wrapper.hamlet
|
|
|
|
templates/homepage.hamlet
|
|
|
|
templates/homepage.julius
|
|
|
|
templates/homepage.lucius
|
|
|
|
templates/normalize.lucius
|
2010-09-10 02:54:34 +04:00
|
|
|
|
|
|
|
source-repository head
|
2013-05-15 02:36:44 +04:00
|
|
|
type: git
|
|
|
|
location: https://github.com/simonmichael/hledger
|
2011-10-05 03:02:57 +04:00
|
|
|
|
|
|
|
flag threaded
|
2012-03-05 11:52:36 +04:00
|
|
|
Description: Build with support for multithreaded execution.
|
2011-09-14 06:51:31 +04:00
|
|
|
Default: True
|
2010-09-11 05:47:46 +04:00
|
|
|
|
2013-04-19 23:40:29 +04:00
|
|
|
flag blaze_html_0_4
|
2013-05-15 02:36:44 +04:00
|
|
|
description: Use the older 0.4 version of blaze-html. No longer well tested.
|
2013-04-19 23:40:29 +04:00
|
|
|
default: False
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2012-03-05 11:52:36 +04:00
|
|
|
flag dev
|
|
|
|
Description: Turn on development settings, like auto-reload templates.
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
flag library-only
|
|
|
|
Description: Build for use with "yesod devel"
|
2011-05-24 08:27:37 +04:00
|
|
|
Default: False
|
|
|
|
|
2012-03-05 11:52:36 +04:00
|
|
|
library
|
2013-09-23 09:38:27 +04:00
|
|
|
cpp-options: -DVERSION="0.21.98"
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(dev) || flag(library-only)
|
|
|
|
cpp-options: -DDEVELOPMENT
|
|
|
|
|
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
|
|
|
|
2013-06-05 05:23:55 +04:00
|
|
|
extensions:
|
2013-05-15 02:36:44 +04:00
|
|
|
CPP
|
|
|
|
MultiParamTypeClasses
|
2013-06-05 05:23:55 +04:00
|
|
|
NoImplicitPrelude
|
|
|
|
OverloadedStrings
|
|
|
|
QuasiQuotes
|
2013-05-15 02:36:44 +04:00
|
|
|
RecordWildCards
|
2013-06-05 05:23:55 +04:00
|
|
|
TemplateHaskell
|
|
|
|
TypeFamilies
|
|
|
|
-- seem to not be needed at present:
|
|
|
|
-- GADTs
|
|
|
|
-- GeneralizedNewtypeDeriving
|
|
|
|
-- FlexibleContexts
|
|
|
|
-- EmptyDataDecls
|
|
|
|
-- NoMonomorphismRestriction
|
2012-03-05 11:52:36 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
hs-source-dirs: . app
|
|
|
|
exposed-modules: Application
|
2012-11-15 21:48:48 +04:00
|
|
|
Foundation
|
|
|
|
Import
|
|
|
|
Settings
|
|
|
|
Settings.StaticFiles
|
|
|
|
Settings.Development
|
2012-11-20 06:23:23 +04:00
|
|
|
Handler.Common
|
|
|
|
Handler.JournalEditR
|
|
|
|
Handler.JournalEntriesR
|
|
|
|
Handler.JournalR
|
|
|
|
Handler.Post
|
|
|
|
Handler.RegisterR
|
|
|
|
Handler.RootR
|
|
|
|
Handler.Utils
|
2012-03-05 11:52:36 +04:00
|
|
|
other-modules:
|
2013-05-15 02:36:44 +04:00
|
|
|
Hledger.Web
|
|
|
|
Hledger.Web.Main
|
|
|
|
Hledger.Web.Options
|
|
|
|
-- Setup -- stops yesod devel complaining, requires build-depends: Cabal
|
|
|
|
build-depends:
|
2013-09-23 09:38:27 +04:00
|
|
|
hledger == 0.21.98
|
|
|
|
, hledger-lib == 0.21.98
|
2013-05-15 02:36:44 +04:00
|
|
|
, base >= 4 && < 5
|
|
|
|
, bytestring
|
|
|
|
, clientsession
|
|
|
|
, cmdargs >= 0.10 && < 0.11
|
|
|
|
, data-default
|
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
, hamlet
|
|
|
|
, hjsmin
|
|
|
|
, http-conduit
|
2013-12-09 22:06:53 +04:00
|
|
|
, http-client >= 0.2 && < 0.3
|
2013-05-15 02:36:44 +04:00
|
|
|
, HUnit
|
|
|
|
, network-conduit
|
|
|
|
, old-locale
|
|
|
|
, parsec
|
|
|
|
, regexpr >= 0.5.1
|
|
|
|
, safe >= 0.2
|
|
|
|
, shakespeare-text
|
|
|
|
, template-haskell
|
|
|
|
, text
|
|
|
|
, time
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, wai-extra
|
2013-12-09 19:32:40 +04:00
|
|
|
, wai-handler-launch >= 1.3 && < 2.1
|
|
|
|
, warp >= 1.3 && < 2.1
|
2013-05-15 02:36:44 +04:00
|
|
|
, yaml
|
2013-11-02 22:50:29 +04:00
|
|
|
, yesod >= 1.2 && < 1.3
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-core
|
|
|
|
, yesod-static
|
2013-04-22 18:34:33 +04:00
|
|
|
, json
|
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(blaze_html_0_4)
|
|
|
|
cpp-options: -DBLAZE_HTML_0_4
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.4 && < 0.5
|
|
|
|
else
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.5 && < 0.7
|
|
|
|
, blaze-markup >= 0.5.1 && < 0.7
|
2011-05-24 08:27:37 +04:00
|
|
|
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
executable hledger-web
|
|
|
|
if flag(library-only)
|
|
|
|
Buildable: False
|
|
|
|
|
2013-09-23 09:38:27 +04:00
|
|
|
cpp-options: -DVERSION="0.21.98"
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(dev)
|
2012-11-15 21:48:48 +04:00
|
|
|
cpp-options: -DDEVELOPMENT
|
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
|
|
|
if flag(threaded)
|
|
|
|
ghc-options: -threaded
|
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -O0
|
|
|
|
else
|
|
|
|
ghc-options: -O2
|
|
|
|
|
2013-06-05 05:23:55 +04:00
|
|
|
extensions:
|
2012-03-05 11:52:36 +04:00
|
|
|
CPP
|
|
|
|
MultiParamTypeClasses
|
2013-06-05 05:23:55 +04:00
|
|
|
NoImplicitPrelude
|
|
|
|
OverloadedStrings
|
|
|
|
QuasiQuotes
|
2012-11-20 06:23:23 +04:00
|
|
|
RecordWildCards
|
2013-06-05 05:23:55 +04:00
|
|
|
TemplateHaskell
|
|
|
|
TypeFamilies
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
hs-source-dirs: . app
|
|
|
|
main-is: main.hs
|
|
|
|
other-modules:
|
|
|
|
Application
|
|
|
|
Foundation
|
|
|
|
Import
|
|
|
|
Settings
|
|
|
|
Settings.StaticFiles
|
|
|
|
Settings.Development
|
|
|
|
Handler.Common
|
|
|
|
Handler.JournalEditR
|
|
|
|
Handler.JournalEntriesR
|
|
|
|
Handler.JournalR
|
|
|
|
Handler.Post
|
|
|
|
Handler.RegisterR
|
|
|
|
Handler.RootR
|
|
|
|
Handler.Utils
|
|
|
|
Hledger.Web
|
|
|
|
Hledger.Web.Main
|
|
|
|
Hledger.Web.Options
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
build-depends:
|
2013-09-23 09:38:27 +04:00
|
|
|
hledger == 0.21.98
|
|
|
|
, hledger-lib == 0.21.98
|
2013-05-15 02:36:44 +04:00
|
|
|
, base >= 4 && < 5
|
|
|
|
, bytestring
|
|
|
|
, clientsession
|
|
|
|
, cmdargs >= 0.10 && < 0.11
|
|
|
|
, data-default
|
2012-11-15 21:48:48 +04:00
|
|
|
, directory
|
|
|
|
, filepath
|
2013-05-15 02:36:44 +04:00
|
|
|
, hamlet
|
|
|
|
, hjsmin
|
|
|
|
, http-conduit
|
2013-12-09 22:06:53 +04:00
|
|
|
, http-client >= 0.2 && < 0.3
|
2012-11-15 21:48:48 +04:00
|
|
|
, HUnit
|
|
|
|
, network-conduit
|
|
|
|
, old-locale
|
|
|
|
, parsec
|
2013-05-15 02:36:44 +04:00
|
|
|
, regexpr >= 0.5.1
|
|
|
|
, safe >= 0.2
|
|
|
|
, shakespeare-text
|
|
|
|
, template-haskell
|
|
|
|
, text
|
2012-11-15 21:48:48 +04:00
|
|
|
, time
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, wai-extra
|
2013-12-09 19:32:40 +04:00
|
|
|
, wai-handler-launch >= 1.3 && < 2.1
|
|
|
|
, warp >= 1.3 && < 2.1
|
2012-11-15 21:48:48 +04:00
|
|
|
, yaml
|
2013-11-02 22:50:29 +04:00
|
|
|
, yesod >= 1.2 && < 1.3
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-core
|
|
|
|
, yesod-static
|
2013-04-22 18:34:33 +04:00
|
|
|
, json
|
2013-05-15 02:36:44 +04:00
|
|
|
|
|
|
|
if flag(blaze_html_0_4)
|
|
|
|
cpp-options: -DBLAZE_HTML_0_4
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.4 && < 0.5
|
|
|
|
else
|
|
|
|
build-depends:
|
2013-04-19 23:40:29 +04:00
|
|
|
blaze-html >= 0.5 && < 0.7
|
|
|
|
, blaze-markup >= 0.5.1 && < 0.7
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
test-suite test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
ghc-options: -Wall
|
|
|
|
hs-source-dirs: tests
|
|
|
|
main-is: main.hs
|
|
|
|
build-depends:
|
|
|
|
hledger-web
|
|
|
|
, base
|
|
|
|
, hspec
|
|
|
|
, yesod >= 1.2 && < 1.3
|
|
|
|
, yesod-test >= 1.2 && < 1.3
|