-
Notifications
You must be signed in to change notification settings - Fork 0
/
try-concur-replica.nix
255 lines (249 loc) · 13.4 KB
/
try-concur-replica.nix
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
let
buildDepError = pkg:
builtins.throw ''
The Haskell package set does not contain the package: ${pkg} (build dependency).
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
'';
sysDepError = pkg:
builtins.throw ''
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
You may need to augment the system package mapping in haskell.nix so that it can be found.
'';
pkgConfDepError = pkg:
builtins.throw ''
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
'';
exeDepError = pkg:
builtins.throw ''
The local executable components do not include the component: ${pkg} (executable dependency).
'';
legacyExeDepError = pkg:
builtins.throw ''
The Haskell package set does not contain the package: ${pkg} (executable dependency).
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
'';
buildToolDepError = pkg:
builtins.throw ''
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
If this is a system dependency:
You may need to augment the system package mapping in haskell.nix so that it can be found.
If this is a Haskell dependency:
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
'';
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
({
flags = {};
package = {
specVersion = "0";
identifier = { name = "try-concur-replica"; version = "0.1.0.0"; };
license = "BSD-3-Clause";
copyright = "2019 Author name here";
maintainer = "[email protected]";
author = "Author name here";
homepage = "https://github.com/githubuser/try-concur-replica#readme";
url = "";
synopsis = "";
description = "Please see the README on GitHub at <https://github.com/githubuser/try-concur-replica#readme>";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
exes = {
"spla-league-random-match" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."async" or (buildDepError "async"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."chronos" or (buildDepError "chronos"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."discord-haskell" or (buildDepError "discord-haskell"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."neat-interpolation" or (buildDepError "neat-interpolation"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."pretty-simple" or (buildDepError "pretty-simple"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."random" or (buildDepError "random"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."time" or (buildDepError "time"))
(hsPkgs."torsor" or (buildDepError "torsor"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."uuid" or (buildDepError "uuid"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
"try-concur-replica-button-pusher" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."random" or (buildDepError "random"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
"try-concur-replica-event-lost" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
"try-concur-replica-phantom-event" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
"try-concur-replica-routing" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
};
tests = {
"try-concur-replica-test" = {
depends = [
(hsPkgs."array" or (buildDepError "array"))
(hsPkgs."base" or (buildDepError "base"))
(hsPkgs."bytestring" or (buildDepError "bytestring"))
(hsPkgs."concur-core" or (buildDepError "concur-core"))
(hsPkgs."concur-replica" or (buildDepError "concur-replica"))
(hsPkgs."containers" or (buildDepError "containers"))
(hsPkgs."generic-lens" or (buildDepError "generic-lens"))
(hsPkgs."lens" or (buildDepError "lens"))
(hsPkgs."mtl" or (buildDepError "mtl"))
(hsPkgs."pcre-heavy" or (buildDepError "pcre-heavy"))
(hsPkgs."product-profunctors" or (buildDepError "product-profunctors"))
(hsPkgs."relude" or (buildDepError "relude"))
(hsPkgs."replica" or (buildDepError "replica"))
(hsPkgs."stm" or (buildDepError "stm"))
(hsPkgs."text" or (buildDepError "text"))
(hsPkgs."transformers" or (buildDepError "transformers"))
(hsPkgs."transformers-base" or (buildDepError "transformers-base"))
(hsPkgs."try-concur-replica" or (buildDepError "try-concur-replica"))
(hsPkgs."wai" or (buildDepError "wai"))
(hsPkgs."wai-websockets" or (buildDepError "wai-websockets"))
(hsPkgs."warp" or (buildDepError "warp"))
(hsPkgs."websockets" or (buildDepError "websockets"))
];
};
};
};
} // rec { src = (pkgs.lib).mkDefault ./.; }) // {
cabal-generator = "hpack";
}