|
1 | | -"""bazeldnf public dependency for WORKSPACE""" |
2 | | - |
3 | 1 | load( |
4 | 2 | "@bazel_tools//tools/build_defs/repo:http.bzl", |
5 | | - "http_archive", |
6 | 3 | "http_file", |
7 | 4 | ) |
8 | | -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") |
9 | | -load( |
10 | | - "@bazeldnf//internal:rpm.bzl", |
11 | | - _rpm = "rpm", |
12 | | -) |
13 | | - |
14 | | -rpm = _rpm |
15 | 5 |
|
16 | 6 | def bazeldnf_dependencies(): |
17 | | - """bazeldnf dependencies when consuming the repo externally""" |
18 | 7 | http_file( |
19 | 8 | name = "bazeldnf-linux-amd64", |
20 | 9 | executable = True, |
21 | 10 | sha256 = "7e1035d8bd2f25b787b04843f4d6a05e7cdbd3995926497c2a587e52da6262a8", |
22 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-linux-amd64"], |
| 11 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-linux-amd64"], |
23 | 12 | ) |
24 | 13 | http_file( |
25 | 14 | name = "bazeldnf-linux-arm64", |
26 | 15 | executable = True, |
27 | 16 | sha256 = "d954b785bfd79dbbd66a2f3df02b0d3a51f1fed4508a6d88fda13a9d24c878cc", |
28 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-linux-arm64"], |
| 17 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-linux-arm64"], |
29 | 18 | ) |
30 | 19 | http_file( |
31 | 20 | name = "bazeldnf-darwin-amd64", |
32 | 21 | executable = True, |
33 | 22 | sha256 = "92afc7f6475981adf9ae32b563b051869d433d8d8c9666e28a1c1c6e840394cd", |
34 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-darwin-amd64"], |
| 23 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-darwin-amd64"], |
35 | 24 | ) |
36 | 25 | http_file( |
37 | 26 | name = "bazeldnf-darwin-arm64", |
38 | 27 | executable = True, |
39 | 28 | sha256 = "c5e99ed72448026ee63259a0a28440f8b43a125414fa312edbd569c2976515a3", |
40 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-darwin-arm64"], |
| 29 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-darwin-arm64"], |
41 | 30 | ) |
42 | 31 | http_file( |
43 | 32 | name = "bazeldnf-linux-ppc64", |
44 | 33 | executable = True, |
45 | 34 | sha256 = "9d5337c1afe4bab858742718ac4c230d9ca368299cb97c50078eef14ae180922", |
46 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-linux-ppc64"], |
| 35 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-linux-ppc64"], |
47 | 36 | ) |
48 | 37 | http_file( |
49 | 38 | name = "bazeldnf-linux-ppc64le", |
50 | 39 | executable = True, |
51 | 40 | sha256 = "7ea4db00947914bc1c51e8f042fe220a3167c65815c487eccd0c541ecfa78aa1", |
52 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-linux-ppc64le"], |
| 41 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-linux-ppc64le"], |
53 | 42 | ) |
54 | 43 | http_file( |
55 | 44 | name = "bazeldnf-linux-s390x", |
56 | 45 | executable = True, |
57 | 46 | sha256 = "09aa4abcb1d85da11642889826b982ef90547eb32099fc8177456c92f66a4cfd", |
58 | | - urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.5.9/bazeldnf-v0.5.9-linux-s390x"], |
59 | | - ) |
60 | | - maybe( |
61 | | - http_archive, |
62 | | - name = "bazel_skylib", |
63 | | - sha256 = "f24ab666394232f834f74d19e2ff142b0af17466ea0c69a3f4c276ee75f6efce", |
64 | | - urls = [ |
65 | | - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz", |
66 | | - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz", |
67 | | - ], |
68 | | - ) |
69 | | - maybe( |
70 | | - http_archive, |
71 | | - name = "platforms", |
72 | | - urls = [ |
73 | | - "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", |
74 | | - "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz", |
75 | | - ], |
76 | | - sha256 = "218efe8ee736d26a3572663b374a253c012b716d8af0c07e842e82f238a0a7ee", |
| 47 | + urls = ["https://github.com/rmohr/bazeldnf/releases/download/v0.6.0-rc1/bazeldnf-v0.6.0-rc1-linux-s390x"], |
77 | 48 | ) |
0 commit comments