104803e433ab827524d7186a6026713ae9b4bb7a
[packages/pretty.git] / pretty.cabal
1 name:          pretty
2 version:       1.1.1.3
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     build-depends: base >= 3 && < 5,
35                    deepseq >= 1.1,
36                    ghc-prim
37     extensions: CPP, BangPatterns, DeriveGeneric
38     ghc-options: -Wall -fwarn-tabs
39
40 Test-Suite test-pretty
41     type: exitcode-stdio-1.0
42     hs-source-dirs: tests
43                     src
44     build-depends: base >= 3 && < 5,
45                    deepseq >= 1.1,
46                    ghc-prim,
47                    QuickCheck >= 2.5 && <3
48     main-is: Test.hs
49     other-modules:
50         TestGenerators
51         TestStructures
52         UnitPP1
53         UnitT3911
54     extensions: CPP, BangPatterns, DeriveGeneric
55     include-dirs: src/Text/PrettyPrint
56
57 -- Executable Bench1
58 --     main-is: Bench1.hs
59 --     hs-source-dirs: test
60 --                     src
61 --     other-modules:
62 --         Text.PrettyPrint
63 --         Text.PrettyPrint.HughesPJ
64 --     extensions: CPP, BangPatterns
65 --     ghc-options: -O -fwarn-tabs
66