-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathansi-wl-pprint.cabal
44 lines (36 loc) · 1.62 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
Name: ansi-wl-pprint
Version: 0.6.7
Cabal-Version: >= 1.2
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: batterseapower@hotmail.com
Homepage: http://github.com/batterseapower/ansi-wl-pprint
Build-Type: Simple
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