installing: require cabal 1.6 or greater, set source-repository url

This commit is contained in:
Simon Michael 2010-09-05 22:49:20 +00:00
parent 5da4a2035b
commit 3436a27e68
2 changed files with 8 additions and 16 deletions

View File

@ -14,7 +14,7 @@ homepage: http://hledger.org
bug-reports: http://code.google.com/p/hledger/issues
stability: experimental
tested-with: GHC==6.10
cabal-version: >= 1.2
cabal-version: >= 1.6
build-type: Simple
-- data-dir:
-- data-files:
@ -60,13 +60,9 @@ library
,utf8-string >= 0.3
,HUnit
-- source-repository head
-- type: darcs
-- location: http://joyful.com/repos/hledger
-- disabled for now due to:
-- The 'source-repository' section is new in Cabal-1.6. Unfortunately it messes
-- up the parser in earlier Cabal versions so you need to specify 'cabal-version:
-- >= 1.6'.
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

View File

@ -19,7 +19,7 @@ homepage: http://hledger.org
bug-reports: http://code.google.com/p/hledger/issues
stability: experimental
tested-with: GHC==6.10, GHC==6.12
cabal-version: >= 1.5
cabal-version: >= 1.6
build-type: Custom
data-dir: data
data-files:
@ -171,13 +171,9 @@ library
,time
,utf8-string >= 0.3
-- source-repository head
-- type: darcs
-- location: http://joyful.com/repos/hledger
-- disabled for now due to:
-- The 'source-repository' section is new in Cabal-1.6. Unfortunately it messes
-- up the parser in earlier Cabal versions so you need to specify 'cabal-version:
-- >= 1.6'.
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