Skip to content

Commit

Permalink
Update build deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Nov 2, 2011
1 parent 2aa2eff commit 8e4cf6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 28 deletions.
10 changes: 5 additions & 5 deletions README.markdown
Expand Up @@ -10,15 +10,15 @@ I'm happy to receive bug reports, fixes, documentation enhancements,
and other improvements.

Please report bugs via the
[bitbucket issue tracker](http://bitbucket.org/bos/attoparsec/issues).
[github issue tracker](https://github.com/bos/attoparsec/issues).

Master [Mercurial repository](http://bitbucket.org/bos/attoparsec):
Master [git repository](https://github.com/bos/attoparsec):

* `hg clone http://bitbucket.org/bos/attoparsec`
* `git clone git://github.com/bos/attoparsec.git`

There's also a [git mirror](http://github.com/bos/attoparsec):
There's also a [Mercurial mirror](https://bitbucket.org/bos/attoparsec):

* `git clone git://github.com/bos/attoparsec.git`
* `hg clone https://bitbucket.org/bos/attoparsec`

(You can create and contribute changes using either Mercurial or git.)

Expand Down
33 changes: 10 additions & 23 deletions attoparsec.cabal
Expand Up @@ -9,8 +9,8 @@ stability: experimental
tested-with: GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.3
synopsis: Fast combinator parsing for bytestrings
cabal-version: >= 1.6
homepage: https://bitbucket.org/bos/attoparsec
bug-reports: https://bitbucket.org/bos/attoparsec/issues
homepage: https://github.com/bos/attoparsec
bug-reports: https://github.com/bos/attoparsec/issues
build-type: Simple
description:
A fast parser combinator library, aimed particularly at dealing
Expand All @@ -35,24 +35,11 @@ Flag developer
Description: Whether to build the library in development mode
Default: False

flag split-base
flag applicative-in-base

library
if flag(split-base)
-- bytestring was in base-2.0 and 2.1.1
build-depends: base >= 2.0 && < 2.2
else
-- in base 1.0 and >= 3.0 bytestring is a separate package
build-depends: base < 2.0 || >= 3, bytestring >= 0.9, containers >= 0.1.0.1

if flag(applicative-in-base)
build-depends: base >= 2.0 && < 5.0
cpp-options: -DAPPLICATIVE_IN_BASE
else
build-depends: base < 2.0

build-depends: deepseq
build-depends: base >= 3 && < 5,
bytestring,
containers,
deepseq

extensions: CPP
exposed-modules: Data.Attoparsec
Expand All @@ -69,10 +56,10 @@ library
if flag(developer)
ghc-prof-options: -auto-all

source-repository head
type: mercurial
location: https://bitbucket.org/bos/attoparsec

source-repository head
type: git
location: https://github.com/bos/attoparsec

source-repository head
type: mercurial
location: https://bitbucket.org/bos/attoparsec

0 comments on commit 8e4cf6d

Please sign in to comment.