Bump to version 1.1.3.6
[packages/pretty.git] / pretty.cabal
1 name:          pretty
2 version:       1.1.3.6
3 synopsis:      Pretty-printing library
4 description:
5         This package contains a pretty-printing library, a set of API's
6         that provides a way to easily print out text in a consistent
7         format of your choosing. This is useful for compilers and related
8         tools.
9         .
10         This library was originally designed by John Hughes's and has since
11         been heavily modified by Simon Peyton Jones.
12
13 license:       BSD3
14 license-file:  LICENSE
15 category:      Text
16 maintainer:    David Terei <code@davidterei.com>
17 homepage:      http://github.com/haskell/pretty
18 bug-reports:   http://github.com/haskell/pretty/issues
19 stability:     Stable
20 build-type:    Simple
21 Extra-Source-Files: README.md CHANGELOG.md
22 Cabal-Version: >= 1.8
23
24 source-repository this
25     type: git
26     location: http://github.com/haskell/pretty.git
27     tag: 1.1.3.5
28
29 source-repository head
30     type:     git
31     location: http://github.com/haskell/pretty.git
32
33 Library
34     hs-source-dirs: src
35     exposed-modules:
36         Text.PrettyPrint
37         Text.PrettyPrint.HughesPJ
38         Text.PrettyPrint.HughesPJClass
39         Text.PrettyPrint.Annotated
40         Text.PrettyPrint.Annotated.HughesPJ
41         Text.PrettyPrint.Annotated.HughesPJClass
42     build-depends: base >= 4.5 && < 5,
43                    deepseq >= 1.1,
44                    ghc-prim
45     extensions: CPP, BangPatterns, DeriveGeneric
46     ghc-options: -Wall -fwarn-tabs
47
48 Test-Suite test-pretty
49     type: exitcode-stdio-1.0
50     hs-source-dirs: tests
51                     src
52     build-depends: base >= 4.5 && < 5,
53                    deepseq >= 1.1,
54                    ghc-prim,
55                    QuickCheck >= 2.5 && <3
56     main-is: Test.hs
57     other-modules:
58         Text.PrettyPrint.Annotated.HughesPJ
59         Text.PrettyPrint.HughesPJ
60         PrettyTestVersion
61         TestGenerators
62         TestStructures
63         TestUtils
64         UnitLargeDoc
65         UnitPP1
66         UnitT3911
67         UnitT32
68     extensions: CPP, BangPatterns, DeriveGeneric
69     include-dirs: src/Text/PrettyPrint/Annotated
70     ghc-options: -rtsopts -with-rtsopts=-K2M
71
72 benchmark pretty-bench
73   type: exitcode-stdio-1.0
74   main-is: Bench.hs
75   hs-source-dirs: bench
76   ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
77   build-depends: base >= 4.5 && < 5
78                , criterion
79                , pretty