-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathvty-ui.cabal
268 lines (246 loc) · 6.63 KB
/
vty-ui.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
Name: vty-ui
Version: 1.9
Synopsis:
An interactive terminal user interface library for Vty
Description:
An extensible library of user interface widgets for composing and
laying out Vty user interfaces. This library provides a collection
of widgets for building and composing interactive,
event-driven terminal interfaces. This library is intended to make
non-trivial user interfaces easy to express and modify without
having to worry about terminal size.
.
Be sure to check out the user manual for the version you're using
at: <http://jtdaugherty.github.com/vty-ui/>
.
Build with the 'demos' flag to get a set of demonstration programs
to see some of the things the library can do!
Category: User Interfaces
Author: Jonathan Daugherty <[email protected]>
Maintainer: Jonathan Daugherty <[email protected]>
Build-Type: Simple
License: BSD3
License-File: LICENSE
Cabal-Version: >= 1.8
Homepage: http://jtdaugherty.github.com/vty-ui/
Data-Files:
doc/ch1/api_notes.tex
doc/ch1/getting_started.tex
doc/ch1/main.tex
doc/ch2/main.tex
doc/ch2/collections.tex
doc/ch2/composing.tex
doc/ch2/event_loop.tex
doc/ch2/focus_groups.tex
doc/ch2/handling_user_input.tex
doc/ch3/cursor_positioning.tex
doc/ch3/deferring_to_children.tex
doc/ch3/growth_policy_functions.tex
doc/ch3/implementing_composite_widgets.tex
doc/ch3/implementing_event_handlers.tex
doc/ch3/main.tex
doc/ch3/new_widget_type.tex
doc/ch3/rendering.tex
doc/ch3/widget_positioning.tex
doc/ch3/widgetimpl_api.tex
doc/ch4/Borders.tex
doc/ch4/Box.tex
doc/ch4/Button.tex
doc/ch4/Centering.tex
doc/ch4/CheckBox.tex
doc/ch4/Collection.tex
doc/ch4/Dialog.tex
doc/ch4/DirBrowser.tex
doc/ch4/Edit.tex
doc/ch4/Fills.tex
doc/ch4/Groups.tex
doc/ch4/Fixed.tex
doc/ch4/FormattedText.tex
doc/ch4/main.tex
doc/ch4/Limits.tex
doc/ch4/List.tex
doc/ch4/Padded.tex
doc/ch4/ProgressBar.tex
doc/ch4/Table.tex
doc/ch5/main.tex
doc/ch5/TextClip.tex
doc/ch5/TextZipper.tex
doc/macros.tex
doc/Makefile
doc/vty-ui-users-manual.tex
doc/title_page.tex
doc/toc.tex
Source-Repository head
type: git
location: git://github.com/jtdaugherty/vty-ui.git
Flag no-tests
Description: Skip build of testing executable
Default: False
Flag demos
Description: Build demonstration programs
Default: False
Library
Build-Depends:
base >= 4 && < 5,
vty >= 5.1.0,
containers >= 0.2 && < 0.6,
regex-base >= 0.93 && < 0.94,
directory >= 1.0 && < 1.4,
filepath >= 1.1 && < 1.5,
unix >= 2.4 && < 2.8,
mtl >= 2.0 && < 2.3,
stm >= 2.1 && < 2.6,
array >= 0.3.0.0 && < 0.6.0.0,
text >= 0.11,
vector >= 0.9,
data-default >= 0.5.3
GHC-Options: -Wall
Hs-Source-Dirs: src
Exposed-Modules:
Graphics.Vty.Widgets.All
Graphics.Vty.Widgets.Alignment
Graphics.Vty.Widgets.Text
Graphics.Vty.Widgets.TextClip
Graphics.Vty.Widgets.TextZipper
Graphics.Vty.Widgets.Core
Graphics.Vty.Widgets.Box
Graphics.Vty.Widgets.List
Graphics.Vty.Widgets.Borders
Graphics.Vty.Widgets.EventLoop
Graphics.Vty.Widgets.Edit
Graphics.Vty.Widgets.Util
Graphics.Vty.Widgets.Table
Graphics.Vty.Widgets.CheckBox
Graphics.Vty.Widgets.Padding
Graphics.Vty.Widgets.Limits
Graphics.Vty.Widgets.Fixed
Graphics.Vty.Widgets.Fills
Graphics.Vty.Widgets.Centering
Graphics.Vty.Widgets.Skins
Graphics.Vty.Widgets.Events
Graphics.Vty.Widgets.Dialog
Graphics.Vty.Widgets.Button
Graphics.Vty.Widgets.ProgressBar
Graphics.Vty.Widgets.DirBrowser
Graphics.Vty.Widgets.Group
Text.Trans.Tokenize
Test-suite vty-ui-tests
Type: exitcode-stdio-1.0
Build-Depends:
base >= 4 && < 5,
QuickCheck >= 2.4 && < 2.8,
quickcheck-text,
random >= 1.0,
text,
vty >= 5.1.0,
vty-ui
CPP-Options: -DTESTING
GHC-Options: -Wall -threaded
if flag(no-tests)
Buildable: False
Hs-Source-Dirs: src,test,test/src
Main-is: TestDriver.hs
Other-Modules:
Tests.Instances
Tests.Util
Tests.Edit
Tests.FormattedText
Tests.Tokenize
Tests.TextClip
Tests.TextZipper
Executable vty-ui-collection-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: CollectionDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-list-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: ListDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-progressbar-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: ProgressBarDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-complex-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: ComplexDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
bytestring >= 0.9 && < 1.0,
time >= 1.5,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-dirbrowser-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: DirBrowserDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-phoneinput-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: PhoneInputDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-dialog-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: DialogDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
text,
vty-ui
if !flag(demos)
Buildable: False
Executable vty-ui-edit-demo
Hs-Source-Dirs: demos
GHC-Options: -Wall -threaded
Main-is: EditDemo.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 2.0 && < 2.3,
vty >= 5.1.0,
vty-ui
if !flag(demos)
Buildable: False