forked from UnkindPartition/ansi-terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansi-terminal.cabal
82 lines (72 loc) · 3.42 KB
/
ansi-terminal.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Name: ansi-terminal
Version: 0.11.3
Cabal-Version: >= 1.10
Category: User Interfaces
Synopsis: Simple ANSI terminal support, with Windows compatibility
Description: ANSI terminal support for Haskell: allows cursor movement,
screen clearing, color output, showing or hiding the
cursor, and changing the title. Works on UNIX and Windows.
License: BSD3
License-File: LICENSE
Author: Max Bolingbroke
Maintainer: Mike Pilgrem <[email protected]>, Roman Cheplyaka <[email protected]>
Homepage: https://github.com/UnkindPartition/ansi-terminal
Build-Type: Simple
Extra-Source-Files: src/includes/Common-Include.hs
src/includes/Common-Include-Emulator.hs
src/includes/Common-Include-Enabled.hs
src/includes/Common-Safe-Haskell.hs
src/includes/Exports-Include.hs
CHANGELOG.md
README.md
Source-repository head
type: git
location: git://github.com/UnkindPartition/ansi-terminal.git
Flag Example
Description: Build the example application
Default: False
Flag Win32-2-13-1
Description: Use Win32-2-13.1.0 or later. If used, there is
no dependency on the mintty package.
Default: True
Library
Hs-Source-Dirs: src
Exposed-Modules: System.Console.ANSI
System.Console.ANSI.Types
System.Console.ANSI.Codes
Include-Dirs: src/includes
Build-Depends: base >= 4.3.0.0 && < 5
, colour >=2.1.0
if os(windows)
Build-Depends: containers >= 0.5.0.0
if flag(Win32-2-13-1)
Build-Depends: Win32 >= 2.13.1
else
Build-Depends: Win32 < 2.13.1, mintty
Cpp-Options: -DWINDOWS
Other-Modules: System.Console.ANSI.Windows
System.Console.ANSI.Windows.Detect
System.Console.ANSI.Windows.Emulator
System.Console.ANSI.Windows.Emulator.Codes
System.Console.ANSI.Windows.Foreign
-- NB: used for fallback by the emulator
System.Console.ANSI.Unix
System.Win32.Compat
else
-- We assume any non-Windows platform is Unix
Cpp-Options: -DUNIX
Other-Modules: System.Console.ANSI.Unix
Default-Extensions: CPP
ForeignFunctionInterface
Ghc-Options: -Wall
Default-Language: Haskell2010
Executable ansi-terminal-example
Hs-Source-Dirs: app
Main-Is: Example.hs
Build-Depends: base >= 4.3.0.0 && < 5
, ansi-terminal
, colour
Ghc-Options: -Wall
if !flag(example)
Buildable: False
Default-Language: Haskell2010