forked from HeinrichApfelmus/threepenny-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
threepenny-gui.cabal
225 lines (207 loc) · 8.39 KB
/
threepenny-gui.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
Name: threepenny-gui
Version: 0.6.0.4
Synopsis: GUI framework that uses the web browser as a display.
Description:
Threepenny-GUI is a GUI framework that uses the web browser as a display.
.
It's very easy to install because everyone has a web browser installed.
.
A program written with Threepenny is essentially a small web server that
displays the user interface as a web page to any browser that connects to it.
You can freely manipulate the HTML DOM and handle JavaScript events
from your Haskell code.
.
Stability forecast: This is an experimental release! Send me your feedback!
Significant API changes are likely in future versions.
.
NOTE: This library contains examples, but they are not built by default.
To build and install the example, use the @buildExamples@ flag like this
.
@cabal install threepenny-gui -fbuildExamples@
License: BSD3
License-file: LICENSE
Author: Heinrich Apfelmus
Maintainer: Heinrich Apfelmus <apfelmus at quantentunnel dot de>
Homepage: http://wiki.haskell.org/Threepenny-gui
bug-reports: https://github.com/HeinrichApfelmus/threepenny-gui/issues
Category: Web, GUI
Build-type: Simple
Cabal-version: >=1.8
Extra-Source-Files: CHANGELOG.md
,README.md
,samples/README.md
,js/*.html
,js/*.css
,js/*.js
,js/lib/*.js
Data-dir: .
Data-files: samples/static/css/*.css
,samples/static/css/*.png
,samples/static/*.html
,samples/static/*.png
,samples/static/*.wav
flag buildExamples
description: Build example executables.
default: False
flag network-uri
description: Get Network.URI from the network-uri package
default: True
flag rebug
description: The library uses some techniques that are highly
non-deterministic, for example garbage collection
and concurrency.
Bugs in these subsystems are harder to find.
Activating this flag will expose more of them.
default: False
Source-repository head
type: git
location: git://github.com/HeinrichApfelmus/threepenny-gui.git
Library
hs-source-dirs: src
exposed-modules:
Foreign.JavaScript
,Foreign.RemotePtr
,Graphics.UI.Threepenny
,Graphics.UI.Threepenny.Attributes
,Graphics.UI.Threepenny.Canvas
,Graphics.UI.Threepenny.Core
,Graphics.UI.Threepenny.DragNDrop
,Graphics.UI.Threepenny.Elements
,Graphics.UI.Threepenny.Events
,Graphics.UI.Threepenny.JQuery
,Graphics.UI.Threepenny.SVG
,Graphics.UI.Threepenny.SVG.Attributes
,Graphics.UI.Threepenny.SVG.Elements
,Graphics.UI.Threepenny.Timer
,Graphics.UI.Threepenny.Widgets
,Reactive.Threepenny
other-modules:
Foreign.JavaScript.EventLoop
,Foreign.JavaScript.Include
,Foreign.JavaScript.Marshal
,Foreign.JavaScript.Resources
,Foreign.JavaScript.Server
,Foreign.JavaScript.Types
,Graphics.UI.Threepenny.Internal
,Reactive.Threepenny.Memo
,Reactive.Threepenny.Monads
,Reactive.Threepenny.PulseLatch
,Reactive.Threepenny.Types
,Paths_threepenny_gui
extensions: CPP
cpp-options: -DCABAL
if flag(rebug)
cpp-options: -DREBUG
ghc-options: -O2 -threaded
build-depends: base >= 4.3 && < 4.9
,aeson >= 0.7 && < 0.9
,async == 2.0.*
,bytestring >= 0.9.2 && < 0.11
,containers >= 0.4.2 && < 0.6
,data-default == 0.5.*
,deepseq >= 1.3.0 && < 1.5
,filepath >= 1.3.0 && < 1.5.0
,hashable >= 1.1.0 && < 1.3
,safe == 0.3.*
,snap-server == 0.9.*
,snap-core == 0.9.*
,stm >= 2.2 && < 2.5
,template-haskell >= 2.7.0 && < 2.11
,text >= 0.11 && < 1.3
,transformers >= 0.3.0 && < 0.5
,unordered-containers == 0.2.*
,websockets >= 0.8 && < 0.10
,websockets-snap >= 0.8 && < 0.10
,vault == 0.3.*
,vector >= 0.10 && < 0.11
if flag(network-uri)
build-depends: network-uri >= 2.6 && < 2.7
else
build-depends: network >= 2.3.0 && < 2.6
Executable threepenny-examples-bartab
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,filepath
else
buildable: False
main-is: BarTab.hs
other-modules: Paths_threepenny_gui, Paths
hs-source-dirs: samples
Executable threepenny-examples-buttons
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,filepath
else
buildable: False
main-is: Buttons.hs
other-modules: Paths_threepenny_gui, Paths
hs-source-dirs: samples
Executable threepenny-examples-canvas
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,filepath
,threepenny-gui
else
buildable: False
main-is: Canvas.hs
hs-source-dirs: samples
Executable threepenny-examples-chat
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,transformers
,filepath
,time
else
buildable: False
main-is: Chat.hs
other-modules: Paths_threepenny_gui, Paths, Data.List.Extra
hs-source-dirs: samples
Executable threepenny-examples-crud
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,containers
,threepenny-gui
else
buildable: False
main-is: CRUD.hs
hs-source-dirs: samples
Executable threepenny-examples-currencyconverter
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,safe
else
buildable: False
main-is: CurrencyConverter.hs
hs-source-dirs: samples
Executable threepenny-examples-dragndropexample
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,filepath
else
buildable: False
main-is: DragNDropExample.hs
other-modules: Paths_threepenny_gui, Paths
hs-source-dirs: samples
Executable threepenny-examples-drummachine
if flag(buildExamples)
cpp-options: -DCABAL
build-depends: base >= 4 && < 5
,threepenny-gui
,filepath
else
buildable: False
main-is: DrumMachine.hs
other-modules: Paths_threepenny_gui, Paths
hs-source-dirs: samples