mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-23 13:41:26 +00:00
Update workspace for new rule_pkg
* removes existing, unused python rules * downloads rules_pkg and loads dependencies
This commit is contained in:
parent
363b7d7cb6
commit
2876a7da19
22
WORKSPACE
22
WORKSPACE
@ -15,15 +15,23 @@ http_archive(
|
||||
)
|
||||
|
||||
# --start python--
|
||||
load("//wrksp:python_download.bzl", "python_download")
|
||||
|
||||
python_download()
|
||||
|
||||
load("//wrksp:python_deps.bzl", "python_deps")
|
||||
|
||||
python_deps()
|
||||
# --end python--
|
||||
|
||||
# Start rules_pkg (for pkg_tar in rules_resf/internal/container:container.bzl)
|
||||
http_archive(
|
||||
name = "rules_pkg",
|
||||
sha256 = "d20c951960ed77cb7b341c2a59488534e494d5ad1d30c4818c736d57772a9fef",
|
||||
urls = [
|
||||
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
|
||||
"https://github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
|
||||
|
||||
rules_pkg_dependencies()
|
||||
# End rules_pkg
|
||||
|
||||
http_archive(
|
||||
name = "com_google_protobuf",
|
||||
sha256 = "d19643d265b978383352b3143f04c0641eea75a75235c111cc01a1350173180e",
|
||||
|
@ -1,4 +0,0 @@
|
||||
load("@rules_python//python:pip.bzl", "pip_repositories")
|
||||
|
||||
def python_deps():
|
||||
pip_repositories()
|
@ -1,8 +0,0 @@
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def python_download():
|
||||
http_archive(
|
||||
name = "rules_python",
|
||||
url = "https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz",
|
||||
sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f",
|
||||
)
|
Loading…
Reference in New Issue
Block a user