141 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			141 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| name:           hledger-web
 | |
| version: 0.15
 | |
| category:       Finance
 | |
| synopsis:       A web interface for the hledger accounting tool.
 | |
| description:    
 | |
|                 hledger is a haskell port and friendly fork of John Wiegley's ledger accounting tool.
 | |
|                 This package provides a web interface as an alternative to the hledger command line interface.
 | |
| 
 | |
| license:        GPL
 | |
| license-file:   LICENSE
 | |
| author:         Simon Michael <simon@joyful.com>
 | |
| maintainer:     Simon Michael <simon@joyful.com>
 | |
| homepage:       http://hledger.org
 | |
| bug-reports:    http://code.google.com/p/hledger/issues
 | |
| stability:      beta
 | |
| tested-with:    GHC==6.12
 | |
| cabal-version:  >= 1.6
 | |
| build-type:     Simple
 | |
| data-dir:       .hledger
 | |
| data-files:
 | |
|                 web/combo_select.gif
 | |
|                 web/dhtmlxcombo.js
 | |
|                 web/dhtmlxcommon.js
 | |
|                 web/favicon.ico
 | |
|                 web/hledger.js
 | |
|                 web/jquery.js
 | |
|                 web/jquery.url.js
 | |
|                 web/style.css
 | |
| extra-tmp-files:
 | |
| extra-source-files:
 | |
| 
 | |
| source-repository head
 | |
|   type:     darcs
 | |
|   location: http://joyful.com/repos/hledger
 | |
| 
 | |
| Flag production
 | |
|     Description:   Build in production mode, which reads template files only once at startup.
 | |
|     Default:       False
 | |
| 
 | |
| Flag devel
 | |
|     Description:   Build for use with "yesod devel"
 | |
|     Default:       False
 | |
| 
 | |
| executable hledger-web
 | |
|   main-is:        hledger-web.hs
 | |
|   -- hs-source-dirs: ., config
 | |
|   if flag(devel)
 | |
|       Buildable: False
 | |
|   if flag(production)
 | |
|       cpp-options:   -DPRODUCTION
 | |
|       ghc-options:   -Wall -threaded -O2
 | |
|   else
 | |
|       ghc-options:   -W -threaded
 | |
|   other-modules:
 | |
|                      App
 | |
|                      EmbeddedFiles
 | |
|                      Settings
 | |
|                      StaticFiles
 | |
|                      Handlers
 | |
|   build-depends:
 | |
|                   hledger == 0.15
 | |
|                  ,hledger-lib == 0.15
 | |
|                  -- ,HUnit
 | |
|                  ,base >= 4 && < 5
 | |
|                  ,bytestring
 | |
|                  -- ,containers
 | |
|                  -- ,csv
 | |
|                  ,directory
 | |
|                  ,filepath
 | |
|                  -- ,mtl
 | |
|                  -- ,old-locale
 | |
|                  -- ,old-time
 | |
|                  ,parsec
 | |
|                  -- ,process
 | |
|                  -- ,regexpr >= 0.5.1
 | |
|                  ,safe >= 0.2
 | |
|                  -- ,split == 0.1.*
 | |
|                  ,text
 | |
|                  -- ,time
 | |
|                  -- ,utf8-string >= 0.3.5 && < 0.4
 | |
|                  ,io-storage >= 0.3 && < 0.4
 | |
|                  -- ,convertible-text >= 0.3.0.1 && < 0.4
 | |
|                  -- ,data-object >= 0.3.1.2 && < 0.4
 | |
|                  ,failure >= 0.1 && < 0.2
 | |
|                  ,file-embed == 0.0.*
 | |
|                  ,template-haskell >= 2.4 && < 2.6
 | |
|                  -- ,yesod >= 0.8 && < 0.9
 | |
|                  ,yesod-core   >= 0.8     && < 0.9
 | |
|                  ,yesod-static == 0.1.0
 | |
|                  ,hamlet == 0.8.*
 | |
|                  ,transformers
 | |
|                  ,wai
 | |
|                  ,wai-extra == 0.4.*
 | |
|                  ,warp
 | |
|                  -- , blaze-builder
 | |
|                  -- , web-routes
 | |
| 
 | |
| library
 | |
|     if flag(devel)
 | |
|         Buildable: True
 | |
|     else
 | |
|         Buildable: False
 | |
|     exposed-modules: 
 | |
|                      Controller
 | |
|     other-modules:
 | |
|                      App
 | |
|                      EmbeddedFiles
 | |
|                      Settings
 | |
|                      StaticFiles
 | |
|                      Handlers
 | |
| 
 | |
| -- executable         hledger-web
 | |
|     -- if flag(devel)
 | |
|     --     Buildable: False
 | |
| 
 | |
|     -- if flag(production)
 | |
|     --     cpp-options:   -DPRODUCTION
 | |
|     --     ghc-options:   -Wall -threaded -O2
 | |
|     -- else
 | |
|     --     ghc-options:   -Wall -threaded
 | |
| 
 | |
|     -- main-is:       config/hledger-web.hs
 | |
|     -- hs-source-dirs: ., config
 | |
| 
 | |
|     -- build-depends: base         >= 4       && < 5
 | |
|     --              , yesod-core   >= 0.8     && < 0.9
 | |
|     --              , yesod-static
 | |
|     --              , wai-extra
 | |
|     --              , directory
 | |
|     --              , bytestring
 | |
|     --              , text
 | |
|     --              , template-haskell
 | |
|     --              , hamlet
 | |
|     --              , web-routes
 | |
|     --              , transformers
 | |
|     --              , wai
 | |
|     --              , warp
 | |
|     --              , blaze-builder
 | |
| 
 | |
| 
 |