forked from fjvallarino/monomer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
161 lines (147 loc) · 3.68 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
name: monomer
version: 1.2.0.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
- formatting >= 6.0 && < 8.0
- http-client >= 0.6 && < 0.9
- JuicyPixels >= 3.2.9 && < 3.5
- lens >= 4.16 && < 5.1
- mtl >= 2.1 && < 2.3
- nanovg >= 0.8 && < 1.0
- OpenGL >= 3.0 && < 3.1
- process >= 1.6 && < 1.7
- safe >= 0.3 && < 0.4
- sdl2 >= 2.5.0 && < 2.6
- stm >= 2.5 && < 2.6
- text >= 1.2 && < 1.3
- text-show >= 3.7 && < 3.10
- time >= 1.8 && < 1.13
- transformers >= 0.5 && < 0.7
- unordered-containers >= 0.2.8 && < 0.3
- vector >= 0.12 && < 0.14
- wreq >= 0.5.2 && < 0.6
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
when:
- condition: os(windows)
then:
extra-libraries: glew32
else:
extra-libraries: GLEW
executables:
todo:
main: Main.hs
source-dirs: examples/todo
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- text-show >= 3.7 && < 3.10
books:
main: Main.hs
source-dirs: examples/books
ghc-options:
- -threaded
dependencies:
- aeson >= 1.4 && < 2.1
- lens >= 4.16 && < 5.1
- monomer
- text-show >= 3.7 && < 3.10
- wreq >= 0.5.2 && < 0.6
ticker:
main: Main.hs
source-dirs: examples/ticker
ghc-options:
- -threaded
dependencies:
- aeson >= 1.4 && < 2.1
- lens >= 4.16 && < 5.1
- monomer
- scientific >= 0.3 && < 0.4
- text-show >= 3.7 && < 3.10
- websockets >= 0.12 && < 0.13
- wuss >= 1.1 && < 1.2
generative:
main: Main.hs
source-dirs: examples/generative
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- random >= 1.1 && < 1.3
- text-show >= 3.7 && < 3.10
opengl:
main: Main.hs
source-dirs: examples/opengl
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- OpenGLRaw >= 3.3 && < 3.4
- random >= 1.1 && < 1.3
- text-show >= 3.7 && < 3.10
tutorial:
main: Main.hs
source-dirs: examples/tutorial
ghc-options:
- -threaded
dependencies:
- lens >= 4.16 && < 5.1
- monomer
- random >= 1.1 && < 1.3
- text-show >= 3.7 && < 3.10
- time >= 1.8 && < 1.13
tests:
monomer-test:
main: Spec.hs
source-dirs: test/unit
ghc-options:
- -fwarn-incomplete-patterns
dependencies:
- directory >= 1.3 && < 1.4
- monomer
- hspec >= 2.4 && < 3.0
- HUnit >= 1.6 && < 1.7
- silently >= 1.2 && < 1.3