35 lines
1.1 KiB
Python
35 lines
1.1 KiB
Python
module(
|
|
name = "com_github_lestrrat_go_jwx_v3",
|
|
version = "3.0.0",
|
|
repo_name = "com_github_lestrrat_go_jwx_v2",
|
|
)
|
|
|
|
bazel_dep(name = "bazel_skylib", version = "1.7.1")
|
|
bazel_dep(name = "rules_go", version = "0.55.1")
|
|
bazel_dep(name = "gazelle", version = "0.44.0")
|
|
bazel_dep(name = "aspect_bazel_lib", version = "2.11.0")
|
|
|
|
# Go SDK setup from go.mod
|
|
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
|
|
go_sdk.from_file(go_mod = "//:go.mod")
|
|
|
|
# Go dependencies from go.mod
|
|
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
|
|
go_deps.from_file(go_mod = "//:go.mod")
|
|
|
|
# Use repositories for external Go dependencies
|
|
use_repo(
|
|
go_deps,
|
|
"com_github_decred_dcrd_dcrec_secp256k1_v4",
|
|
"com_github_goccy_go_json",
|
|
"com_github_lestrrat_go_blackmagic",
|
|
"com_github_lestrrat_go_dsig",
|
|
"com_github_lestrrat_go_dsig_secp256k1",
|
|
"com_github_lestrrat_go_httprc_v3",
|
|
"com_github_lestrrat_go_option_v2",
|
|
"com_github_segmentio_asm",
|
|
"com_github_stretchr_testify",
|
|
"com_github_valyala_fastjson",
|
|
"org_golang_x_crypto",
|
|
)
|