Jakub Grajciar | 07363a4 | 2020-04-02 10:02:17 +0200 | [diff] [blame] | 1 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 2 | |
| 3 | http_archive( |
| 4 | name = "io_bazel_rules_go", |
| 5 | urls = [ |
| 6 | "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.21.2/rules_go-v0.21.2.tar.gz", |
| 7 | "https://github.com/bazelbuild/rules_go/releases/download/v0.21.2/rules_go-v0.21.2.tar.gz", |
| 8 | ], |
| 9 | sha256 = "f99a9d76e972e0c8f935b2fe6d0d9d778f67c760c6d2400e23fc2e469016e2bd", |
| 10 | ) |
| 11 | |
| 12 | load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains") |
| 13 | |
| 14 | http_archive( |
| 15 | name = "bazel_gazelle", |
| 16 | sha256 = "86c6d481b3f7aedc1d60c1c211c6f76da282ae197c3b3160f54bd3a8f847896f", |
| 17 | urls = [ |
| 18 | "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz", |
| 19 | "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz", |
| 20 | ], |
| 21 | ) |
| 22 | |
| 23 | go_rules_dependencies() |
| 24 | |
| 25 | go_register_toolchains() |
| 26 | |
| 27 | load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") |
| 28 | |
| 29 | gazelle_dependencies() |
| 30 | |
| 31 | go_repository( |
| 32 | name = "com_github_profile", |
| 33 | importpath = "github.com/pkg/profile", |
| 34 | commit = "acd64d450fd45fb2afa41f833f3788c8a7797219" |
| 35 | ) |