mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bazel: migrate rules_pkg to bzlmod
This commit is contained in:
parent
8abac5c2fd
commit
2ba94f5ba8
@ -3,3 +3,4 @@ module(name = "constellation")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
||||
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.0.9")
|
||||
bazel_dep(name = "rules_pkg", version = "0.10.1")
|
||||
|
@ -255,15 +255,6 @@ register_toolchains(
|
||||
"@zig_sdk//toolchain:windows_amd64",
|
||||
)
|
||||
|
||||
# Packaging rules (tar)
|
||||
load("//bazel/toolchains:pkg_deps.bzl", "pkg_deps")
|
||||
|
||||
pkg_deps()
|
||||
|
||||
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
||||
|
||||
rules_pkg_dependencies()
|
||||
|
||||
# Aspect Bazel Lib
|
||||
load("//bazel/toolchains:aspect_bazel_lib.bzl", "aspect_bazel_lib")
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
"""rules_pkg dependencies"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def pkg_deps():
|
||||
http_archive(
|
||||
name = "rules_pkg",
|
||||
urls = [
|
||||
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.10.1/rules_pkg-0.10.1.tar.gz",
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/d250924a2ecc5176808fc4c25d5cf5e9e79e6346d79d5ab1c493e289e722d1d0",
|
||||
"https://github.com/bazelbuild/rules_pkg/releases/download/0.10.1/rules_pkg-0.10.1.tar.gz",
|
||||
],
|
||||
sha256 = "d250924a2ecc5176808fc4c25d5cf5e9e79e6346d79d5ab1c493e289e722d1d0",
|
||||
type = "tar.gz",
|
||||
)
|
Loading…
Reference in New Issue
Block a user