cabal: cleanups

This commit is contained in:
Simon Michael 2009-06-05 16:54:42 +00:00
parent 339e389bbc
commit e73cc564da

View File

@ -1,38 +1,44 @@
Name: hledger name: hledger
-- updated by build process from VERSION -- Version is set by the makefile
Version: 0.5.1 version: 0.5.1
Category: Finance category: Finance
Synopsis: A text-based accounting tool, similar to John Wiegley's ledger. synopsis: A command-line (or curses or web-based) double-entry accounting tool.
Description: hledger is a (mostly) text-based accounting tool that description:
generates precise register and balance reports from a hledger reads a plain text ledger file or timelog
plain text journal file. It is a partial clone, in describing your transactions and displays precise
haskell, of John Wiegley's excellent ledger. hledger balance and register reports via command-line, curses
implements a subset of ledger's commands and options, and or web interface. It is a remix, in haskell, of John
also provides some new ones. For basic use you can use Wiegley's excellent c++ ledger. hledger aims to be a
hledger and ledger pretty much interchangeably on the same practical, accessible tool for end users and a useful
data files. library for finance-minded haskell programmers.
License: GPL
Stability: beta
Author: Simon Michael <simon@joyful.com>
Maintainer: Simon Michael <simon@joyful.com>
Homepage: http://hledger.org
Tested-With: GHC
Build-Type: Simple
License-File: LICENSE
Extra-Source-Files: README sample.ledger
Extra-Tmp-Files:
Cabal-Version: >= 1.2
Flag vty 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: experimental
tested-with: GHC==6.8, GHC==6.10
cabal-version: >= 1.2
build-type: Simple
extra-tmp-files:
extra-source-files:
README
sample.ledger
sample.timelog
flag vty
description: enable the curses ui description: enable the curses ui
default: False default: False
Flag happs flag happs
description: enable the web ui description: enable the web ui
default: False default: False
Library library
Exposed-modules: exposed-modules:
Ledger Ledger
Ledger.Account Ledger.Account
Ledger.AccountName Ledger.AccountName
@ -61,9 +67,9 @@ Library
,utf8-string ,utf8-string
,HUnit ,HUnit
Executable hledger executable hledger
Main-Is: hledger.hs main-is: hledger.hs
Other-Modules: other-modules:
Commands.Add Commands.Add
Commands.All Commands.All
Commands.Balance Commands.Balance
@ -93,7 +99,7 @@ Executable hledger
Tests Tests
Utils Utils
Version Version
Build-Depends: build-depends:
base >= 3 && < 5 base >= 3 && < 5
,bytestring ,bytestring
,containers ,containers
@ -119,14 +125,14 @@ Executable hledger
if flag(vty) if flag(vty)
cpp-options: -DVTY cpp-options: -DVTY
Other-Modules:Commands.UI other-modules:Commands.UI
Build-Depends: build-depends:
vty >= 3.1.8.2 && < 3.2 vty >= 3.1.8.2 && < 3.2
if flag(happs) if flag(happs)
cpp-options: -DHAPPS cpp-options: -DHAPPS
Other-Modules:Commands.Web other-modules:Commands.Web
Build-Depends: build-depends:
happstack >= 0.2 && < 0.3 happstack >= 0.2 && < 0.3
,happstack-data >= 0.2 && < 0.3 ,happstack-data >= 0.2 && < 0.3
,happstack-server >= 0.2 && < 0.3 ,happstack-server >= 0.2 && < 0.3
@ -134,3 +140,9 @@ Executable hledger
,utf8-string >= 0.3 && < 0.4 ,utf8-string >= 0.3 && < 0.4
,xhtml >= 3000.2 && < 3000.3 ,xhtml >= 3000.2 && < 3000.3
,HTTP >= 4000.0 && < 4000.1 ,HTTP >= 4000.0 && < 4000.1
source-repository head
type: darcs
location: http://joyful.com/repos/hledger
-- cf http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html