forked from ekmett/ansi-wl-pprint
/
ansi-wl-pprint.cabal
49 lines (40 loc) · 1.59 KB
/
ansi-wl-pprint.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: ansi-wl-pprint
version: 0.6.7.3
cabal-version: >= 1.6
category: User Interfaces, Text
synopsis: The Wadler/Leijen Pretty Printer for colored ANSI terminal output
description: This is a pretty printing library based on Wadler's paper "A Prettier Printer". It has been enhanced with support for ANSI terminal colored output using the ansi-terminal package.
license: BSD3
license-file: LICENSE
extra-source-files: README.textile
author: Daan Leijen, Max Bolingbroke
maintainer: Edward Kmett <ekmett@gmail.com>
bug-reports: http://github.com/ekmett/ansi-wl-pprint/issues
homepage: http://github.com/ekmett/ansi-wl-pprint
build-type: Simple
source-repository head
type: git
location: git://github.com/ekmett/ansi-wl-pprint.git
flag NewBase
description: Choose the new smaller, split-up base package with 6.10
default: True
flag Example
description: Build the example application
default: False
library
exposed-modules: Text.PrettyPrint.ANSI.Leijen
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-matches
build-depends: ansi-terminal >= 0.4.0 && < 0.7
if flag(newbase)
build-depends: base >= 3 && < 5
else
build-depends: base < 3
executable ansi-wl-pprint-example
main-is: Text/PrettyPrint/ANSI/Example.hs
build-depends: ansi-terminal >= 0.4.0 && < 0.7
if flag(newbase)
build-depends: base >= 3 && < 5
else
build-depends: base < 3
if !flag(example)
buildable: False