mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-30 01:41:04 +02:00
88 lines
1.9 KiB
Python
88 lines
1.9 KiB
Python
workspace(name = "google_jsonnet_go")
|
|
|
|
load(
|
|
"@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
"http_archive",
|
|
)
|
|
|
|
# Go and Gazelle
|
|
http_archive(
|
|
name = "io_bazel_rules_go",
|
|
sha256 = "a82a352bffae6bee4e95f68a8d80a70e87f42c4741e6a448bec11998fcc82329",
|
|
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.18.5/rules_go-0.18.5.tar.gz"],
|
|
)
|
|
|
|
http_archive(
|
|
name = "bazel_gazelle",
|
|
sha256 = "3c681998538231a2d24d0c07ed5a7658cb72bfb5fd4bf9911157c0e9ac6a2687",
|
|
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.17.0/bazel-gazelle-0.17.0.tar.gz"],
|
|
)
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:deps.bzl",
|
|
"go_register_toolchains",
|
|
"go_rules_dependencies",
|
|
)
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains()
|
|
|
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
|
|
|
gazelle_dependencies()
|
|
|
|
go_repository(
|
|
name = "com_github_davecgh_go_spew",
|
|
importpath = "github.com/davecgh/go-spew",
|
|
tag = "v1.1.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_fatih_color",
|
|
importpath = "github.com/fatih/color",
|
|
tag = "v1.7.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_mattn_go_colorable",
|
|
importpath = "github.com/mattn/go-colorable",
|
|
tag = "v0.1.1",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_mattn_go_isatty",
|
|
importpath = "github.com/mattn/go-isatty",
|
|
tag = "v0.0.7",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_pmezard_go_difflib",
|
|
importpath = "github.com/pmezard/go-difflib",
|
|
tag = "v1.0.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_sergi_go_diff",
|
|
importpath = "github.com/sergi/go-diff",
|
|
tag = "v1.0.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_stretchr_objx",
|
|
importpath = "github.com/stretchr/objx",
|
|
tag = "v0.1.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "com_github_stretchr_testify",
|
|
importpath = "github.com/stretchr/testify",
|
|
tag = "v1.3.0",
|
|
)
|
|
|
|
go_repository(
|
|
name = "org_golang_x_sys",
|
|
commit = "a9d3bda3a223",
|
|
importpath = "golang.org/x/sys",
|
|
)
|