-
Notifications
You must be signed in to change notification settings - Fork 2
/
WORKSPACE
51 lines (39 loc) · 1.55 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# Go ruleset
http_archive(
name = "io_bazel_rules_go",
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.17.0/rules_go-0.17.0.tar.gz"],
sha256 = "492c3ac68ed9dcf527a07e6a1b2dcbf199c6bf8b35517951467ac32e421c06c1",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains(go_version = "1.11.1")
# Gazelle
http_archive(
name = "bazel_gazelle",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.16.0/bazel-gazelle-0.16.0.tar.gz"],
sha256 = "7949fc6cc17b5b191103e97481cf8889217263acf52e00b560683413af204fcb",
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
go_repository(
name = "com_github_eclipse_paho_mqtt_golang",
commit = "cb7eb9363b4469c601b1a714447653b720e4e43a",
importpath = "github.com/eclipse/paho.mqtt.golang",
)
go_repository(
name = "in_gopkg_alecthomas_kingpin_v2",
commit = "947dcec5ba9c011838740e680966fd7087a71d0d",
importpath = "gopkg.in/alecthomas/kingpin.v2",
)
go_repository(
name = "com_github_alecthomas_units",
commit = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a",
importpath = "github.com/alecthomas/units",
)
go_repository(
name = "com_github_alecthomas_template",
commit = "a0175ee3bccc567396460bf5acd36800cb10c49c",
importpath = "github.com/alecthomas/template",
)