Skip to content

Instantly share code, notes, and snippets.

@zacker330
Created March 23, 2022 13:47
Show Gist options
  • Save zacker330/eae21a8c70e3f86317942faf0e455937 to your computer and use it in GitHub Desktop.
Save zacker330/eae21a8c70e3f86317942faf0e455937 to your computer and use it in GitHub Desktop.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
http_archive(
name = "io_bazel_rules_jsonnet",
sha256 = "d20270872ba8d4c108edecc9581e2bb7f320afab71f8caa2f6394b5202e8a2c3",
strip_prefix = "rules_jsonnet-0.4.0",
urls = ["https://github.com/bazelbuild/rules_jsonnet/archive/refs/tags/0.4.0.tar.gz"],
)
load("@io_bazel_rules_jsonnet//jsonnet:jsonnet.bzl", "jsonnet_repositories")
jsonnet_repositories()
load("@google_jsonnet_go//bazel:repositories.bzl", "jsonnet_go_repositories")
jsonnet_go_repositories()
load("@google_jsonnet_go//bazel:deps.bzl", "jsonnet_go_dependencies")
jsonnet_go_dependencies()
new_git_repository(
name = "grafonnet-lib",
remote = "https://github.com/grafana/grafonnet-lib.git",
commit = "6db00c292d3a1c71661fc875f90e0ec7caa538c2",
build_file ="//:grafonnet-lib.BUILD.bazel",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment