Update changelog.
[packages/parsec.git] / parsec.cabal
1 name:           parsec
2 version:        3.1.6
3 cabal-version: >= 1.6
4 license:        BSD3
5 license-file:   LICENSE
6 author:         Daan Leijen <daan@microsoft.com>, Paolo Martini <paolo@nemail.it>
7 maintainer:     Antoine Latter <aslatter@gmail.com>
8 homepage:       http://www.cs.uu.nl/~daan/parsec.html
9 bug-reports:    https://github.com/aslatter/parsec/issues
10 category:       Parsing
11 synopsis:       Monadic parser combinators
12 build-type: Simple
13 description:
14         Parsec is designed from scratch as an industrial-strength parser
15         library.  It is simple, safe, well documented (on the package
16         homepage), has extensive libraries and good error messages,
17         and is also fast.  It is defined as a monad transformer that can be
18         stacked on arbitrary monads, and it is also parametric in the
19         input stream type.
20 extra-source-files: CHANGES
21
22 source-repository head
23     type: git
24     location: https://github.com/aslatter/parsec
25
26 source-repository this
27     type: darcs
28     location: https://github.com/aslatter/parsec
29     tag: 3.1.6
30
31 flag base4
32     Description: Use base-4.*
33     Default:    True
34
35 library    
36     exposed-modules:
37         Text.Parsec,
38         Text.Parsec.String,
39         Text.Parsec.ByteString,
40         Text.Parsec.ByteString.Lazy,
41         Text.Parsec.Text,
42         Text.Parsec.Text.Lazy,
43         Text.Parsec.Pos,
44         Text.Parsec.Error,
45         Text.Parsec.Prim,
46         Text.Parsec.Char,
47         Text.Parsec.Combinator,
48         Text.Parsec.Token,
49         Text.Parsec.Expr,
50         Text.Parsec.Language,
51         Text.Parsec.Perm,
52         Text.ParserCombinators.Parsec,
53         Text.ParserCombinators.Parsec.Char,
54         Text.ParserCombinators.Parsec.Combinator,
55         Text.ParserCombinators.Parsec.Error,
56         Text.ParserCombinators.Parsec.Expr,
57         Text.ParserCombinators.Parsec.Language,
58         Text.ParserCombinators.Parsec.Perm,
59         Text.ParserCombinators.Parsec.Pos,
60         Text.ParserCombinators.Parsec.Prim,
61         Text.ParserCombinators.Parsec.Token
62     if flag(base4)
63         build-depends: base >= 4 && < 5
64     else
65         build-depends: base >= 3.0.3 && < 4
66         cpp-options: -DBASE3
67     build-depends: mtl, bytestring, text >= 0.2 && < 1.2
68     extensions: ExistentialQuantification, PolymorphicComponents, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, DeriveDataTypeable, CPP
69     ghc-options:        -O2