-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
213 lines (180 loc) · 6.43 KB
/
WORKSPACE
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
workspace(
name = "servant_elm_bazel",
managed_directories = {
"@npm": ["node_modules"],
},
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_haskell",
sha256 = "3acf9f2ac0b0cfdf0e4aa0cdf4f2332c6819d797daa98cbd4dfa563139eb981e",
strip_prefix = "rules_haskell-5acb7432a55ff5c203043b9acdc7ab228cacebcf",
urls = ["https://github.com/tweag/rules_haskell/archive/5acb7432a55ff5c203043b9acdc7ab228cacebcf.tar.gz"],
)
load("@rules_haskell//haskell:repositories.bzl", "rules_haskell_dependencies")
rules_haskell_dependencies()
load("@rules_haskell//haskell:toolchain.bzl", "rules_haskell_toolchains")
rules_haskell_toolchains()
load("@rules_haskell//haskell:cabal.bzl", "stack_snapshot")
http_archive(
name = "zlib.hs",
build_file_content = """\
load("@rules_cc//cc:defs.bzl", "cc_library")
cc_library(
name = "zlib",
srcs = [":z"],
hdrs = glob(["*.h"]),
includes = ["."],
linkstatic = 1,
visibility = ["//visibility:public"],
)
cc_library(
name = "z",
srcs = glob(["*.c"]),
hdrs = glob(["*.h"]),
copts = ["-w"],
)
""",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
urls = ["http://zlib.net/zlib-1.2.11.tar.gz"],
)
stack_snapshot(
name = "stackage",
extra_deps = {"zlib": ["@zlib.hs//:zlib"]},
packages = [
"aeson",
"aeson-casing",
"base",
"containers",
"filepath",
"hspec",
"hspec-expectations",
"http-client",
"optparse-applicative",
"servant-0.17",
"servant-client-0.17",
"servant-client-core-0.17",
"servant-elm-0.7.1",
"servant-foreign-0.15.1",
"servant-server-0.17",
"stm",
"tar",
"temporary",
"text",
"wai-app-static",
"wai-logger",
"warp",
],
snapshot = "lts-14.27",
stack_snapshot_json = "//:stackage_snapshot.json",
)
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "4a5d654a4ccd4a4c24eca5d319d85a88a650edf119601550c95bf400c8cc897e",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.5.1/rules_nodejs-3.5.1.tar.gz"],
)
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
node_repositories()
yarn_install(
name = "npm",
package_json = "//:package.json",
yarn_lock = "//:yarn.lock",
)
http_archive(
name = "com_github_edschouten_rules_elm",
sha256 = "bd1f6b808c9b54d6190cf252ae1a5e0ddb88302eb5650a45b42389f684406bab",
strip_prefix = "rules_elm-6548399afde6690dc72f7cabdd29e7381c9ec508",
urls = ["https://github.com/EdSchouten/rules_elm/archive/6548399afde6690dc72f7cabdd29e7381c9ec508.tar.gz"],
)
load("@com_github_edschouten_rules_elm//elm:deps.bzl", "elm_register_toolchains")
elm_register_toolchains()
load("@com_github_edschouten_rules_elm//repository:def.bzl", "elm_repository")
elm_repository(
name = "elm_package_bartavelle_json_helpers",
sha256 = "d616cc7118b71ef17a2fade01a0612ceb0796743893aa8882432602b54c6264d",
strip_prefix = "json-helpers-2.0.2",
urls = ["https://github.com/bartavelle/json-helpers/archive/2.0.2.tar.gz"],
)
elm_repository(
name = "elm_package_elm_browser",
sha256 = "23f41491d325afc72649d512741fb8173725014c93e482d25bab3325555a4f59",
strip_prefix = "browser-1.0.2",
urls = ["https://github.com/elm/browser/archive/1.0.2.tar.gz"],
)
elm_repository(
name = "elm_package_elm_bytes",
sha256 = "922f3526e3b430e947d1d2eac5965e4caae625013649de2f657d4f258a5bdc0b",
strip_prefix = "bytes-1.0.8",
urls = ["https://github.com/elm/bytes/archive/1.0.8.tar.gz"],
)
elm_repository(
name = "elm_package_elm_core",
sha256 = "6e37b11c88c89a68d19d0c7625f1ef39ed70c59e443def95e4de98d6748c80a7",
strip_prefix = "core-1.0.5",
urls = ["https://github.com/elm/core/archive/1.0.5.tar.gz"],
)
elm_repository(
name = "elm_package_elm_file",
sha256 = "c85b4025e12c1bf2dee9e4d853459ead7d1fa917304adfa2af27d116c86292e6",
strip_prefix = "file-1.0.5",
urls = ["https://github.com/elm/file/archive/1.0.5.tar.gz"],
)
elm_repository(
name = "elm_package_elm_html",
sha256 = "73b885e0a3d2f9781b1c9bbcc1ee9ac032f503f5ef46a27da3ba617cebbf6fd8",
strip_prefix = "html-1.0.0",
urls = ["https://github.com/elm/html/archive/1.0.0.tar.gz"],
)
elm_repository(
name = "elm_package_elm_http",
sha256 = "619bc23d7753bc172016ea764233dd7dfded1d919263c41b59885c5bcdd10b01",
strip_prefix = "http-2.0.0",
urls = ["https://github.com/elm/http/archive/2.0.0.tar.gz"],
)
elm_repository(
name = "elm_package_elm_json",
sha256 = "d0635f33137e4ad3fc323f96ba280e45dc41afa51076c53d9f04fd92c2cf5c4e",
strip_prefix = "json-1.1.3",
urls = ["https://github.com/elm/json/archive/1.1.3.tar.gz"],
)
elm_repository(
name = "elm_package_elm_svg",
sha256 = "13d8c9a129421be95bf75d8cc3ddf05e5eafc6df79e3c7312f040773c7918cb3",
strip_prefix = "svg-1.0.1",
urls = ["https://github.com/elm/svg/archive/1.0.1.tar.gz"],
)
elm_repository(
name = "elm_package_elm_time",
sha256 = "e18bca487adec67bfe4043a33b975d81527a7732377050d0421dd86d503c906d",
strip_prefix = "time-1.0.0",
urls = ["https://github.com/elm/time/archive/1.0.0.tar.gz"],
)
elm_repository(
name = "elm_package_elm_url",
sha256 = "840e9d45d8a9bd64a7f76421a1de2518e02c7cbea7ed42efd380b4e875e9682b",
strip_prefix = "url-1.0.0",
urls = ["https://github.com/elm/url/archive/1.0.0.tar.gz"],
)
elm_repository(
name = "elm_package_elm_virtual_dom",
sha256 = "cf87286ed5d1b31aaf99c6a3368ccd340d1356b1973f1afe5f668c47e22b3b60",
strip_prefix = "virtual-dom-1.0.2",
urls = ["https://github.com/elm/virtual-dom/archive/1.0.2.tar.gz"],
)
elm_repository(
name = "elm_package_lattyware_fontawesome",
sha256 = "062a98be0efd4db3e6765fee8a9169258f3b318563829d972eb7211388998f92",
strip_prefix = "elm-fontawesome-4.0.0",
urls = ["https://github.com/lattyware/elm-fontawesome/archive/4.0.0.tar.gz"],
)
http_archive(
name = "rules_pkg",
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
urls = [
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
],
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()