forked from fjvallarino/monomer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
192 lines (176 loc) · 4.02 KB
/
package.yaml
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
name: monomer
version: 1.5.1.0
github: fjvallarino/monomer
license: BSD3
author: Francisco Vallarino
maintainer: [email protected]
copyright: 2018 Francisco Vallarino
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
synopsis: A GUI library for writing native Haskell applications.
category: GUI
description: |
Monomer is an easy to use, cross platform, GUI library for writing native
Haskell applications.
It provides a framework similar to the Elm Architecture, allowing the creation
of GUIs using an extensible set of widgets with pure Haskell.
Please see the README on Github at <https://github.com/fjvallarino/monomer#readme>
default-extensions:
- OverloadedStrings
dependencies:
- async >= 2.1 && < 2.3
- attoparsec >= 0.12 && < 0.15
- base >= 4.11 && < 5
- bytestring >= 0.10 && < 0.12
- bytestring-to-vector >= 0.3 && < 0.4
- containers >= 0.5.11 && < 0.7
- data-default >= 0.5 && < 0.8
- exceptions >= 0.10 && < 0.11
- extra >= 1.6 && < 1.9
- foreign-store >= 0.2 && < 1.0
- formatting >= 6.0 && < 8.0
- http-client >= 0.6 && < 0.9
- JuicyPixels >= 3.2.9 && < 3.5
- lens >= 4.16 && < 6
- mtl >= 2.1 && < 3
- nanovg >= 0.8.1 && < 1.0
- OpenGLRaw >= 3.3 && < 3.4
- process >= 1.6 && < 1.7
- sdl2 >= 2.5.0 && < 2.6
- stm >= 2.5 && < 2.6
- text >= 1.2 && < 2.1
- text-show >= 3.7 && < 3.12
- time >= 1.8 && < 1.16
- transformers >= 0.5 && < 0.7
- vector >= 0.12 && < 0.14
- wreq >= 0.5.2 && < 0.6
flags:
examples:
default: False
manual: True
library:
source-dirs: src
include-dirs: cbits
install-includes:
- fontmanager.h
c-sources:
- cbits/dpi.c
- cbits/fontmanager.c
- cbits/glew.c
build-tools: c2hs
cc-options:
- -fPIC
ghc-options:
- -fwarn-incomplete-patterns
pkg-config-dependencies: glew
when:
- condition: os(windows)
then:
extra-libraries: glew32
else:
extra-libraries: GLEW
executables:
dev-test-app:
main: Main.hs
source-dirs: dev-test-app
dependencies:
- monomer
ghc-options:
- -threaded
todo:
main: Main.hs
source-dirs: examples/todo
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
ghc-options:
- -threaded
books:
main: Main.hs
source-dirs: examples/books
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- wreq >= 0.5.2 && < 0.6
ghc-options:
- -threaded
ticker:
main: Main.hs
source-dirs: examples/ticker
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- aeson >= 1.4 && < 2.3
- monomer
- websockets >= 0.12 && < 0.13
- wuss >= 1.1 && < 2.3
ghc-options:
- -threaded
generative:
main: Main.hs
source-dirs: examples/generative
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
opengl:
main: Main.hs
source-dirs: examples/opengl
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
tutorial:
main: Main.hs
source-dirs: examples/tutorial
when:
- condition: flag(examples)
then:
buildable: True
else:
buildable: False
dependencies:
- monomer
- random >= 1.1 && < 1.3
ghc-options:
- -threaded
tests:
monomer-test:
main: Spec.hs
source-dirs: test/unit
ghc-options:
- -fwarn-incomplete-patterns
dependencies:
- monomer
- hspec >= 2.4 && < 3.0