Add more badges to readme
[packages/pretty.git] / pretty.cabal
1 name:          pretty
2 version:       1.1.3.2
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 head
25     type:     git
26     location: http://github.com/haskell/pretty.git
27
28 Library
29     hs-source-dirs: src
30     exposed-modules:
31         Text.PrettyPrint
32         Text.PrettyPrint.HughesPJ
33         Text.PrettyPrint.HughesPJClass
34         Text.PrettyPrint.Annotated
35         Text.PrettyPrint.Annotated.HughesPJ
36         Text.PrettyPrint.Annotated.HughesPJClass
37     build-depends: base >= 4.5 && < 5,
38                    deepseq >= 1.1,
39                    ghc-prim
40     extensions: CPP, BangPatterns, DeriveGeneric
41     ghc-options: -Wall -fwarn-tabs
42
43 Test-Suite test-pretty
44     type: exitcode-stdio-1.0
45     hs-source-dirs: tests
46                     src
47     build-depends: base >= 4.5 && < 5,
48                    deepseq >= 1.1,
49                    ghc-prim,
50                    QuickCheck >= 2.5 && <3
51     main-is: Test.hs
52     other-modules:
53         PrettyTestVersion
54         TestGenerators
55         TestStructures
56         TestUtils
57         UnitLargeDoc
58         UnitPP1
59         UnitT3911
60     extensions: CPP, BangPatterns, DeriveGeneric
61     include-dirs: src/Text/PrettyPrint/Annotated
62
63 -- Executable Bench1
64 --     main-is: Bench1.hs
65 --     build-depends: base >= 3 && < 5,
66 --                    pretty
67 --     hs-source-dirs: tests
68 --     ghc-options: -O -fwarn-tabs
69