peridot/WORKSPACE

237 lines
6.6 KiB
Python
Raw Permalink Normal View History

2022-07-07 20:11:50 +00:00
workspace(
name = "peridot",
managed_directories = {"@npm": ["node_modules"]},
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")
2022-07-07 20:11:50 +00:00
# --start python--
load("//wrksp:python_download.bzl", "python_download")
python_download()
load("//wrksp:python_deps.bzl", "python_deps")
python_deps()
# --end python--
http_archive(
name = "com_google_protobuf",
sha256 = "3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568",
strip_prefix = "protobuf-3.19.4",
urls = [
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz",
],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
http_archive(
name = "io_bazel_rules_go",
sha256 = "d6b2513456fe2229811da7eb67a444be7785f5323c6708b38d851d2b51e54d83",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.30.0/rules_go-v0.30.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.30.0/rules_go-v0.30.0.zip",
],
)
http_archive(
name = "bazel_gazelle",
sha256 = "de69a09dc70417580aabf20a28619bb3ef60d038470c7cf8442fafcf627c21cb",
2022-07-07 20:11:50 +00:00
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz",
2022-07-07 20:11:50 +00:00
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
go_rules_dependencies()
go_register_toolchains(
nogo = "@peridot//:nogo",
2023-02-19 19:44:14 +00:00
version = "1.18.10",
2022-07-07 20:11:50 +00:00
)
go_repository(
name = "org_golang_google_grpc",
build_file_proto_mode = "disable",
importpath = "google.golang.org/grpc",
sum = "h1:weqSxi/TMs1SqFRMHCtBgXRs8k3X39QIDEZ0pRcttUg=",
version = "v1.44.0",
)
go_repository(
name = "org_golang_x_net",
importpath = "golang.org/x/net",
sum = "h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk=",
version = "v0.0.0-20220127200216-cd36cc0744dd",
)
go_repository(
name = "org_golang_x_text",
importpath = "golang.org/x/text",
sum = "h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=",
version = "v0.3.0",
)
go_repository(
name = "com_github_ProtonMail_go_crypto",
importpath = "github.com/ProtonMail/go-crypto",
2022-07-20 03:33:56 +00:00
patch_args = ["-p1"],
2022-07-07 20:11:50 +00:00
patches = [
2022-07-20 03:33:56 +00:00
"//patches:0001-Key-ID-subpacket-should-not-be-hashed-or-critical-fo.patch",
2022-07-07 20:11:50 +00:00
],
2022-07-20 03:33:56 +00:00
sum = "h1:J2FzIrXN82q5uyUraeJpLIm7U6PffRwje2ORho5yIik=",
version = "v0.0.0-20220113124808-70ae35bab23f",
2022-07-07 20:11:50 +00:00
)
go_repository(
name = "org_golang_x_oauth2",
build_directives = [
"gazelle:resolve go cloud.google.com/go/compute/metadata @com_google_cloud_go//compute/metadata",
],
importpath = "golang.org/x/oauth2",
sum = "h1:pkQiBZBvdos9qq4wBAHqlzuZHEXo07pqV06ef90u1WI=",
version = "v0.0.0-20210514164344-f6687ab2804c",
)
gazelle_dependencies()
load("@io_bazel_rules_go//extras:embed_data_deps.bzl", "go_embed_data_dependencies")
go_embed_data_dependencies()
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "8f5f192ba02319254aaf2cdcca00ec12eaafeb979a80a1e946773c520ae0a2c9",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.7.0/rules_nodejs-3.7.0.tar.gz"],
)
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
node_repositories(
node_version = "16.2.0",
package_json = ["//:package.json"],
yarn_version = "1.22.10",
)
yarn_install(
name = "npm",
package_json = "//:package.json",
yarn_lock = "//:yarn.lock",
)
# --start docker--
load("//wrksp:docker_download.bzl", "docker_download")
docker_download()
load("//wrksp:docker_deps.bzl", "docker_deps")
docker_deps()
# --end docker--
# --start openapitools--
load("//wrksp:openapitools_download.bzl", "openapitools_download")
openapitools_download()
load("//wrksp:openapitools_deps.bzl", "openapitools_deps")
openapitools_deps()
# --end openapitools--
# --start grpc_gateway--
http_archive(
name = "com_github_grpc_ecosystem_grpc_gateway_v2",
sha256 = "c405cd8f1fb54761933c20be2ad02cce4f9a498d7bdb92a5d3789704884b8360",
strip_prefix = "grpc-gateway-2.7.3",
urls = [
"https://github.com/grpc-ecosystem/grpc-gateway/archive/refs/tags/v2.7.3.tar.gz",
],
)
load("@com_github_grpc_ecosystem_grpc_gateway_v2//:repositories.bzl", "go_repositories")
go_repositories()
# --end grpc_gateway--
# --start protoc_gen_validate--
http_archive(
name = "com_envoyproxy_protoc_gen_validate",
sha256 = "4c692c62e16c168049bca2b2972b0a25222870cf53e61be30b50d761e58728bd",
strip_prefix = "protoc-gen-validate-0.6.7",
2022-07-07 20:11:50 +00:00
urls = [
"https://github.com/envoyproxy/protoc-gen-validate/archive/v0.6.7.tar.gz",
2022-07-07 20:11:50 +00:00
],
)
load("@com_envoyproxy_protoc_gen_validate//:dependencies.bzl", "go_third_party")
go_third_party()
# --end protoc_gen_validate--
# --start jsonnet--
http_archive(
name = "io_bazel_rules_jsonnet",
2022-10-31 02:23:40 +00:00
sha256 = "fa791a38167a198a8b42bfc750ee5642f811ab20649c5517e12719e78d9a133f",
strip_prefix = "rules_jsonnet-bd79290c53329db8bc8e3c5b709fbf822d865046",
urls = ["https://github.com/bazelbuild/rules_jsonnet/archive/bd79290c53329db8bc8e3c5b709fbf822d865046.tar.gz"],
2022-07-07 20:11:50 +00:00
)
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()
2022-10-31 02:23:40 +00:00
http_archive(
name = "cpp_jsonnet",
sha256 = "cbbdddc82c0090881aeff0334b6d60578a15b6fafdb0ac54974840d2b7167d88",
strip_prefix = "jsonnet-60bcf7f097ce7ec2d40ea2b4d0217d1e325f4769",
urls = ["https://github.com/google/jsonnet/archive/60bcf7f097ce7ec2d40ea2b4d0217d1e325f4769.tar.gz"],
)
2022-07-07 20:11:50 +00:00
# --end jsonnet--
# --start atlassian--
load("//wrksp:atlassian_download.bzl", "atlassian_download")
atlassian_download()
load("//wrksp:atlassian_deps.bzl", "atlassian_deps")
atlassian_deps()
# --end atlassian--
# --start bazel-diff--
http_jar(
name = "bazel_diff",
2023-11-09 00:17:30 +00:00
sha256 = "a88c267227a770b787ec939b64cca907efa6e1a1c0d5c55283d7332ddb05d3b5",
urls = [
2023-11-09 00:17:30 +00:00
"https://github.com/Tinder/bazel-diff/releases/download/4.8.2/bazel-diff_deploy.jar",
],
)
# --end bazel-diff--
2022-07-07 20:11:50 +00:00
new_local_repository(
name = "raw_ts_library",
build_file = "//rules_raw_ts_library:BUILD",
path = "rules_raw_ts_library",
)
load("//bases/bazel:containers.bzl", "containers")
containers()
2022-10-31 02:23:40 +00:00
load("//rules_resf/toolchains:toolchains.bzl", "toolchains_repositories")
toolchains_repositories()