-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathhscurses.cabal
177 lines (145 loc) · 3.57 KB
/
hscurses.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
name: hscurses
version: 1.5.0.0
license: LGPL
license-file: LICENSE
author:
John Meacham <john at repetae dot net>
Tuomo Valkonen <tuomov at iki.fi>
Don Stewart <http://www.cse.unsw.edu.au/~dons>
Stefan Wehr <http://www.stefanwehr.de>
extra-source-files: ChangeLog
copyright:
Stefan Wehr 2004 - 2011
Don Stewart 2004
Tuomo Valkonen 2004
John Meacham 2002-2004
maintainer: Stefan Wehr <http://www.stefanwehr.de>
stability: Stable
category: User-interface
synopsis: NCurses bindings for Haskell
description:
Binding to NCurses, a library of functions that manage an
application's display on character-cell terminals. Additionally,
it contains some basic widgets such as a text input widget and
a table widget.
homepage: https://github.com/skogsbaer/hscurses
cabal-version: >=1.10
build-type: Configure
tested-with:
GHC ==7.6.1
|| ==7.8
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
|| ==9.12.1
data-files:
cbits/config.h.in
cbits/HSCurses.h
cbits/HSCursesUtils.h
configure
configure.ac
hscurses.buildinfo.in
README.md
TODO
source-repository head
type: git
location: https://github.com/skogsbaer/hscurses
flag examples
description: Build test and example binaries
default: False
manual: True
flag debug
description: Compile with logging/tracing functions
default: False
manual: True
library
build-depends:
base >=4 && <5
, exceptions <0.11
, mtl <2.4
, time <1.13
extra-libraries: ncurses
if !os(windows)
build-depends: unix <2.9
if flag(debug)
cpp-options: -DDEBUG=1
exposed-modules:
UI.HSCurses.Curses
UI.HSCurses.CursesHelper
UI.HSCurses.Logging
UI.HSCurses.Widgets
other-modules:
UI.HSCurses.CWString
UI.HSCurses.IConv
c-sources: cbits/HSCursesUtils.c
includes:
HSCurses.h
HSCursesUtils.h
default-extensions:
CPP
ExistentialQuantification
ForeignFunctionInterface
GeneralizedNewtypeDeriving
ScopedTypeVariables
include-dirs: cbits
ghc-options:
-funbox-strict-fields -Wall -fno-warn-unused-do-bind
-fno-warn-name-shadowing
default-language: Haskell2010
executable contact-manager
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
, mtl >=2.0 && <2.4
, pretty >=1.0 && <1.2
else
buildable: False
hs-source-dirs: example
default-language: Haskell2010
main-is: ContactManager.hs
executable key-test
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/key-test
default-language: Haskell2010
main-is: KeyTest.hs
executable widget-test-text
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: TextTest.hs
executable widget-test-table
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: TableTest.hs
executable widget-test-edit
if flag(examples)
build-depends:
base >=4.0
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: EditTest.hs