2010-09-10 02:54:34 +04:00
|
|
|
name: hledger-web
|
2014-12-26 22:08:02 +03:00
|
|
|
version: 0.24.98
|
2014-05-01 19:20:05 +04:00
|
|
|
stability: stable
|
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
|
2014-10-23 21:17:28 +04:00
|
|
|
tested-with: GHC==7.6.3, GHC==7.8.2
|
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
|
2014-12-25 22:41:47 +03:00
|
|
|
config/favicon.ico
|
|
|
|
config/keter.yaml
|
|
|
|
config/robots.txt
|
2012-11-16 21:08:54 +04:00
|
|
|
config/routes
|
2014-12-25 22:41:47 +03:00
|
|
|
config/settings.yml
|
2014-05-23 20:46:11 +04:00
|
|
|
static/css/bootstrap-theme.css
|
|
|
|
static/css/bootstrap-theme.css.map
|
|
|
|
static/css/bootstrap-theme.min.css
|
2013-01-11 18:49:28 +04:00
|
|
|
static/css/bootstrap.css
|
2014-05-23 20:46:11 +04:00
|
|
|
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
|
2014-05-23 21:20:20 +04:00
|
|
|
static/js/excanvas.js
|
|
|
|
static/js/excanvas.min.js
|
2014-12-25 22:41:47 +03:00
|
|
|
static/js/jquery.colorhelpers.js
|
|
|
|
static/js/jquery.colorhelpers.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
|
2014-05-23 21:20:20 +04:00
|
|
|
static/js/jquery.flot.js
|
|
|
|
static/js/jquery.flot.min.js
|
2014-12-25 22:41:47 +03:00
|
|
|
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
|
2014-05-23 20:46:11 +04:00
|
|
|
static/js/jquery.min.js
|
2014-05-23 21:20:20 +04:00
|
|
|
static/js/jquery.url.js
|
2014-12-25 22:41:47 +03:00
|
|
|
static/js/typeahead.bundle.js
|
|
|
|
static/js/typeahead.bundle.min.js
|
2014-05-23 20:46:11 +04:00
|
|
|
static/hledger.css
|
2013-01-11 18:49:28 +04:00
|
|
|
static/hledger.js
|
2013-01-24 21:07:21 +04:00
|
|
|
templates/default-layout-wrapper.hamlet
|
2014-12-25 22:41:47 +03:00
|
|
|
templates/default-layout.hamlet
|
2013-01-24 21:07:21 +04:00
|
|
|
templates/homepage.hamlet
|
|
|
|
templates/homepage.julius
|
|
|
|
templates/homepage.lucius
|
|
|
|
templates/normalize.lucius
|
2015-01-11 03:47:45 +03:00
|
|
|
tests/HomeTest.hs
|
|
|
|
tests/TestImport.hs
|
2014-04-09 02:52:37 +04:00
|
|
|
CHANGES
|
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
|
|
|
|
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
|
|
|
|
|
2014-10-19 20:37:18 +04:00
|
|
|
|
2012-03-05 11:52:36 +04:00
|
|
|
library
|
2014-12-26 22:08:02 +03:00
|
|
|
cpp-options: -DVERSION="0.24.98"
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(dev) || flag(library-only)
|
|
|
|
cpp-options: -DDEVELOPMENT
|
|
|
|
|
2014-10-18 20:59:11 +04:00
|
|
|
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
|
2013-05-15 02:36:44 +04:00
|
|
|
|
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
|
|
|
|
2014-10-19 20:37:18 +04:00
|
|
|
exposed-modules: Application
|
2012-11-15 21:48:48 +04:00
|
|
|
Foundation
|
|
|
|
Import
|
|
|
|
Settings
|
|
|
|
Settings.StaticFiles
|
|
|
|
Settings.Development
|
2015-02-16 19:21:07 +03:00
|
|
|
Handler.AddForm
|
2012-11-20 06:23:23 +04:00
|
|
|
Handler.Common
|
|
|
|
Handler.JournalR
|
|
|
|
Handler.RegisterR
|
|
|
|
Handler.RootR
|
2014-06-13 03:14:41 +04:00
|
|
|
Handler.SidebarR
|
2012-11-20 06:23:23 +04:00
|
|
|
Handler.Utils
|
2014-10-19 20:37:18 +04:00
|
|
|
-- other-modules:
|
2013-05-15 02:36:44 +04:00
|
|
|
Hledger.Web
|
|
|
|
Hledger.Web.Main
|
|
|
|
Hledger.Web.Options
|
2014-05-25 00:36:15 +04:00
|
|
|
-- Setup -- stops yesod devel complaining, requires build-depends: Cabal
|
2013-05-15 02:36:44 +04:00
|
|
|
build-depends:
|
2014-12-26 22:08:02 +03:00
|
|
|
hledger == 0.24.98
|
|
|
|
, hledger-lib == 0.24.98
|
2013-05-15 02:36:44 +04:00
|
|
|
, base >= 4 && < 5
|
2014-10-23 21:17:28 +04:00
|
|
|
, blaze-html
|
|
|
|
, blaze-markup
|
2013-05-15 02:36:44 +04:00
|
|
|
, bytestring
|
|
|
|
, clientsession
|
|
|
|
, cmdargs >= 0.10 && < 0.11
|
|
|
|
, data-default
|
|
|
|
, directory
|
|
|
|
, filepath
|
|
|
|
, hjsmin
|
|
|
|
, http-conduit
|
2014-10-23 21:17:28 +04:00
|
|
|
, http-client
|
2013-05-15 02:36:44 +04:00
|
|
|
, HUnit
|
|
|
|
, network-conduit
|
2014-04-17 18:54:30 +04:00
|
|
|
, conduit-extra
|
2013-05-15 02:36:44 +04:00
|
|
|
, old-locale
|
2014-11-03 08:52:12 +03:00
|
|
|
, parsec >= 3
|
2013-05-15 02:36:44 +04:00
|
|
|
, regexpr >= 0.5.1
|
|
|
|
, safe >= 0.2
|
2014-10-23 21:17:28 +04:00
|
|
|
, shakespeare >= 2.0
|
2013-05-15 02:36:44 +04:00
|
|
|
, template-haskell
|
|
|
|
, text
|
|
|
|
, time
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, wai-extra
|
2014-09-13 05:39:15 +04:00
|
|
|
, wai-handler-launch >= 1.3
|
2014-10-23 21:17:28 +04:00
|
|
|
, warp
|
2013-05-15 02:36:44 +04:00
|
|
|
, yaml
|
2014-10-23 21:17:28 +04:00
|
|
|
, yesod >= 1.4 && < 1.5
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-core
|
2015-02-16 21:22:17 +03:00
|
|
|
, yesod-form
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-static
|
2013-04-22 18:34:33 +04:00
|
|
|
, json
|
tools: fancy .ghci for hledger-web
Some configuration for running hledger-web in ghci, and misc. utilities
including hlint/hoogle/hayoo and a not-yet-working yesod devel-like
reloader from a recent reddit thread. (If enabling these, also uncomment
the required libs in hledger-web.cabal). Although it's not yet
automated, we can now test hledger-web changes without relinking:
>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
Press ctrl-c to quit
C-c C-cInterrupted.
>>> :r
Ok, modules loaded: Settings, Main, Hledger.Web.Main, Application, Hledger.Web.Options, Settings.Development, Import, Handler.RootR, Handler.JournalR, Handler.RegisterR, Handler.SidebarR, Handler.Common, Handler.Utils, Foundation, Settings.StaticFiles, Handler.Post.
>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
2014-07-06 21:38:41 +04:00
|
|
|
-- required by extra ghci utilities:
|
|
|
|
-- , fsnotify
|
|
|
|
-- , hsdev
|
|
|
|
-- , mtl
|
2013-04-22 18:34:33 +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
|
|
|
|
|
2014-12-26 22:08:02 +03:00
|
|
|
cpp-options: -DVERSION="0.24.98"
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(dev)
|
2014-10-18 20:59:11 +04:00
|
|
|
cpp-options: -DDEVELOPMENT
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2014-10-18 20:59:11 +04:00
|
|
|
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
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(threaded)
|
2014-10-18 20:59:11 +04:00
|
|
|
ghc-options: -threaded
|
2013-05-15 02:36:44 +04:00
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -O0
|
|
|
|
|
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
|
|
|
|
2014-10-19 20:37:18 +04:00
|
|
|
hs-source-dirs: app
|
2013-05-15 02:36:44 +04:00
|
|
|
main-is: main.hs
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2013-05-15 02:36:44 +04:00
|
|
|
build-depends:
|
2014-12-26 22:08:02 +03:00
|
|
|
hledger-lib == 0.24.98
|
|
|
|
, hledger == 0.24.98
|
|
|
|
, hledger-web == 0.24.98
|
2013-05-15 02:36:44 +04:00
|
|
|
, base >= 4 && < 5
|
2014-10-23 21:17:28 +04:00
|
|
|
, blaze-html
|
|
|
|
, blaze-markup
|
2013-05-15 02:36:44 +04:00
|
|
|
, 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
|
|
|
, hjsmin
|
|
|
|
, http-conduit
|
2014-10-23 21:17:28 +04:00
|
|
|
, http-client
|
2012-11-15 21:48:48 +04:00
|
|
|
, HUnit
|
|
|
|
, network-conduit
|
2014-04-17 18:54:30 +04:00
|
|
|
, conduit-extra
|
2012-11-15 21:48:48 +04:00
|
|
|
, old-locale
|
2014-11-03 08:52:12 +03:00
|
|
|
, parsec >= 3
|
2013-05-15 02:36:44 +04:00
|
|
|
, regexpr >= 0.5.1
|
|
|
|
, safe >= 0.2
|
2014-10-23 21:17:28 +04:00
|
|
|
, shakespeare >= 2.0 && < 2.1
|
2013-05-15 02:36:44 +04:00
|
|
|
, template-haskell
|
|
|
|
, text
|
2012-11-15 21:48:48 +04:00
|
|
|
, time
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, wai-extra
|
2014-09-13 05:39:15 +04:00
|
|
|
, wai-handler-launch >= 1.3
|
2014-10-23 21:17:28 +04:00
|
|
|
, warp
|
2012-11-15 21:48:48 +04:00
|
|
|
, yaml
|
2014-10-23 21:17:28 +04:00
|
|
|
, yesod >= 1.4 && < 1.5
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-core
|
2015-02-16 21:22:17 +03:00
|
|
|
, yesod-form
|
2013-05-15 02:36:44 +04:00
|
|
|
, yesod-static
|
2013-04-22 18:34:33 +04:00
|
|
|
, json
|
tools: fancy .ghci for hledger-web
Some configuration for running hledger-web in ghci, and misc. utilities
including hlint/hoogle/hayoo and a not-yet-working yesod devel-like
reloader from a recent reddit thread. (If enabling these, also uncomment
the required libs in hledger-web.cabal). Although it's not yet
automated, we can now test hledger-web changes without relinking:
>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
Press ctrl-c to quit
C-c C-cInterrupted.
>>> :r
Ok, modules loaded: Settings, Main, Hledger.Web.Main, Application, Hledger.Web.Options, Settings.Development, Import, Handler.RootR, Handler.JournalR, Handler.RegisterR, Handler.SidebarR, Handler.Common, Handler.Utils, Foundation, Settings.StaticFiles, Handler.Post.
>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
2014-07-06 21:38:41 +04:00
|
|
|
-- required by extra ghci utilities:
|
|
|
|
-- , fsnotify
|
|
|
|
-- , hsdev
|
|
|
|
-- , mtl
|
2013-05-15 02:36:44 +04:00
|
|
|
|
|
|
|
test-suite test
|
|
|
|
type: exitcode-stdio-1.0
|
2014-10-18 20:59:11 +04:00
|
|
|
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
|
2013-05-15 02:36:44 +04:00
|
|
|
hs-source-dirs: tests
|
|
|
|
main-is: main.hs
|
|
|
|
build-depends:
|
2014-12-26 22:08:02 +03:00
|
|
|
hledger-web == 0.24.98
|
2013-05-15 02:36:44 +04:00
|
|
|
, base
|
|
|
|
, hspec
|
2014-10-23 21:17:28 +04:00
|
|
|
, yesod
|
|
|
|
, yesod-test
|