blob: ace78677f4f2717aa79bb08164ddfa4e37f856c9 [file] [log] [blame]
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +02001# third_party external repositories
2
Tim Windelschmidtf5c45102025-02-08 22:30:58 +00003github_repository = use_repo_rule("//build/github_repository:def.bzl", "github_repository")
4
5github_repository(
6 name = "edk2",
7 build_file = "//third_party/edk2:edk2.bzl",
Tim Windelschmidtffd8c7b2025-02-24 22:02:01 +01008 integrity = "sha256-AbL7G1i/RNxE8U4vibfQKYaf9cHa4XCOjiO2AHQ8DVc=",
Tim Windelschmidtf5c45102025-02-08 22:30:58 +00009 owner = "tianocore",
10 patch_args = ["-p1"],
11 patches = [
12 "//third_party/edk2/patches:disable-werror.patch",
13 "//third_party/edk2/patches:remove-brotli-build.patch",
14 ],
Tim Windelschmidtffd8c7b2025-02-24 22:02:01 +010015 ref = "fbe0805b2091393406952e84724188f8c1941837", # stable202502
Tim Windelschmidtf5c45102025-02-08 22:30:58 +000016 repo = "edk2",
17 submodules = {
Tim Windelschmidtffd8c7b2025-02-24 22:02:01 +010018 "CryptoPkg/Library/OpensslLib/openssl": "sha256-MvIqVMARnJx7foEjQtEtIrOb3mHEYDi/QB56NW5MdFQ=",
Tim Windelschmidtf5c45102025-02-08 22:30:58 +000019 "UnitTestFrameworkPkg/Library/CmockaLib/cmocka": "sha256-Wc1LgauvrjXZSsXZHPSuWwUSLmiHE81ttR5eTO9HHY8=",
20 "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma": "sha256-7ql3OA67GHHV3jjE9/FUQu5pDJC995BZDZMKa780fyg=",
21 "MdeModulePkg/Library/BrotliCustomDecompressLib/brotli": "sha256-bWyszgUIa33r51EnQV/5w2YYSfVk/i9fOwOD1Iqk7Xc=",
22 "BaseTools/Source/C/BrotliCompress/brotli": "sha256-bWyszgUIa33r51EnQV/5w2YYSfVk/i9fOwOD1Iqk7Xc=",
23 "RedfishPkg/Library/JsonLib/jansson": "sha256-55NcDZHW0i9t7nEKJrI+Io7MT+jvfo91ZVjDWZ9ow7Q=",
Tim Windelschmidtffd8c7b2025-02-24 22:02:01 +010024 "UnitTestFrameworkPkg/Library/GoogleTestLib/googletest": "sha256-PDCVSIuTaxRTjcpk1+aLzeCaihjSoypHtZh37/A0BAM=",
25 "UnitTestFrameworkPkg/Library/SubhookLib/subhook": "sha256-9lsubdME4ZGF11FlK9XrxyqB1QO/VCA3rLNFDkOrwJU=",
26 "MdePkg/Library/BaseFdtLib/libfdt": "sha256-EZORD0df3gfzzU/hwaNT1puM7bV0lnE0g4/NyCCNIk4=",
27 "MdePkg/Library/MipiSysTLib/mipisyst": "sha256-n9o7mng0OrK+bwbOY5ZTbn4GWrrCm0fI6y5Cy7TE8As=",
28 "CryptoPkg/Library/MbedTlsLib/mbedtls": "sha256-tcfnxU4BPBaPSq4DblmRJ4XxG0ruvVf2FloU6Hm5qCw=",
29 "SecurityPkg/DeviceSecurity/SpdmLib/libspdm": "sha256-Y0y98QvK8y80RrG/i+fopgzs0elQDlEvAePBW3TLz9M=",
Tim Windelschmidtf5c45102025-02-08 22:30:58 +000030 },
31)
32
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020033http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Tim Windelschmidt6b1b79a2024-08-27 00:04:18 +020034
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020035http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
36
37# Used by tests in cloud/takeover
38http_file(
39 name = "debian_11_cloudimage",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020040 integrity = "sha256-FMruxoujEpoRWptXOW0I3AlzzJ9WnOBJIy19FddorUE=",
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020041 urls = [
42 "https://cloud.debian.org/images/cloud/bullseye/20230124-1270/debian-11-genericcloud-amd64-20230124-1270.qcow2",
43 ],
44)
45
46# Used to include staticcheck as nogo analyzer
47http_archive(
48 name = "com_github_sluongng_nogo_analyzer",
Tim Windelschmidt677de972024-09-25 05:30:04 +020049 integrity = "sha256-Dca16GCU0IHgW80MPkH8J1ojmMZOVFN2FmE5QSGB8VA=",
50 strip_prefix = "nogo-analyzer-0.0.3",
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020051 urls = [
Tim Windelschmidt677de972024-09-25 05:30:04 +020052 "https://github.com/sluongng/nogo-analyzer/archive/refs/tags/v0.0.3.tar.gz",
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020053 ],
54)
55
Tim Windelschmidt492434a2024-10-22 14:29:55 +020056# Used in swtpm
Tim Windelschmidt6948d332025-02-10 19:55:48 +010057BORINGSSL_VERSION = "d7278cebad5b8eda0901246f2215344cffece4f4"
58
59http_archive(
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020060 name = "boringssl",
Tim Windelschmidt6948d332025-02-10 19:55:48 +010061 integrity = "sha256-bpWXzfHbkV8J3Ed1Hp/L8WyFnWnFDn3+IuNN8A0IGyY=",
62 urls = [
63 "https://boringssl.googlesource.com/boringssl/+archive/%s.tar.gz" % BORINGSSL_VERSION,
64 ],
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020065)
66
67# CockroachDB binary used for tests.
68#
69# WARNING: Not distributed under an OSI certified license. Must only be used in
70# tests, not be redistributed!
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020071COCKROACH_VERSION = "22.1.6"
72
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020073http_archive(
74 name = "cockroach",
Tim Windelschmidte4895292025-02-04 03:10:39 +010075 build_file = "//third_party/cockroach:cockroach.bzl",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020076 integrity = "sha256-CCHP9XcEAPuUyLbCqzONlvQRT78rMga8im3PYvnA9Oo=",
77 strip_prefix = "cockroach-v%s.linux-amd64" % COCKROACH_VERSION,
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020078 urls = [
79 # TODO: select() to pick other host architectures.
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020080 "https://binaries.cockroachdb.com/cockroach-v%s.linux-amd64.tgz" % COCKROACH_VERSION,
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020081 ],
82)
83
84# CockroachDB repository used for linter passes.
85http_archive(
86 name = "com_github_cockroachdb_cockroach",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020087 integrity = "sha256-bDVo7yRM5rh0aU7u7Lg+1PXV3/bPA3yVLs3naCimxQI=",
88 strip_prefix = "cockroach-" + COCKROACH_VERSION,
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020089 urls = [
Tim Windelschmidte1420ab2024-08-27 01:53:16 +020090 "https://github.com/cockroachdb/cockroach/archive/v%s.tar.gz" % COCKROACH_VERSION,
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020091 ],
92)
93
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020094# Derived from Mozilla NSS, currently needed for containerd to be able to pull images
95http_file(
96 name = "cacerts",
Lorenz Brun15c46cc2025-01-16 17:41:42 +000097 integrity = "sha256-o/Mowh453dHyvhzqQ6wN7IGeqiCpBCXX2pAaEVMbOqU=",
98 urls = ["https://curl.se/ca/cacert-2024-12-31.pem"],
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +020099)
100
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +0200101# ini.h, a tiny ini parser library
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200102INIH_VERSION = "r53"
103
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +0200104http_archive(
105 name = "inih",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200106 build_file = "//third_party/inih:inih.bzl",
107 integrity = "sha256-AbA2b9/fY2PvwHDC+Fbxr6M+emVGVIutpUVq2UpRYkE=",
108 strip_prefix = "inih-" + INIH_VERSION,
109 urls = ["https://github.com/benhoyt/inih/archive/%s.tar.gz" % INIH_VERSION],
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +0200110)
111
Tim Windelschmidt6948d332025-02-10 19:55:48 +0100112GPERF_VERSION = "de9373c2d48a3edf29862eb8be44764a7f7d24c6"
113
114http_archive(
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +0200115 name = "gperf",
Tim Windelschmidt6948d332025-02-10 19:55:48 +0100116 integrity = "sha256-xHLG+LYlXSuNG1rNvXwgjoSSG/FAZ9fu2WT4rTvnJkU=",
117 strip_prefix = "gperf-" + GPERF_VERSION,
118 urls = ["https://github.com/monogon-dev/gperf/archive/%s.tar.gz" % GPERF_VERSION],
Tim Windelschmidt4a3e05f2024-07-30 18:19:21 +0200119)
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200120
Lorenz Brund842aaf2025-02-17 17:39:46 +0100121LINUX_VERSION = "6.12.15"
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200122
123http_archive(
124 name = "linux",
Tim Windelschmidte4895292025-02-04 03:10:39 +0100125 build_file = "//third_party/linux:linux.bzl",
Lorenz Brund842aaf2025-02-17 17:39:46 +0100126 integrity = "sha256-X/W9hOoOIsU0NzAttdOU0Kkti4saiM4g0QmCmOn3Ywo=",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200127 patch_args = ["-p1"],
128 patches = [
Tim Windelschmidte4895292025-02-04 03:10:39 +0100129 "//third_party/linux/patches:0001-block-partition-expose-PARTUUID-through-uevent.patch",
130 "//third_party/linux/patches:disable-static-ifs.patch",
131 "//third_party/linux/patches:enable-pmsg.patch",
132 "//third_party/linux/patches:lacp_fix.patch",
133 "//third_party/linux/patches:fb-devs-knob.patch",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200134 ],
135 strip_prefix = "linux-" + LINUX_VERSION,
136 urls = ["https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%s.tar.xz" % LINUX_VERSION],
137)
138
Lorenz Brun25458952024-09-11 16:35:28 +0000139LINUX_FIRMWARE_VERSION = "20240909"
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200140
141http_archive(
142 name = "linux-firmware",
Tim Windelschmidte4895292025-02-04 03:10:39 +0100143 build_file = "//third_party/linux-firmware:linux-firmware.bzl",
Lorenz Brun25458952024-09-11 16:35:28 +0000144 integrity = "sha256-k+m2riJAZhY5yHT1/Dj2d9GK/jZbF6E/7mtPxPukLBA=",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200145 strip_prefix = "linux-firmware-" + LINUX_FIRMWARE_VERSION,
146 urls = ["https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-%s.tar.gz" % LINUX_FIRMWARE_VERSION],
147)
148
Lorenz Brunc752ec62024-09-11 16:36:43 +0000149INTEL_UCODE_VERSION = "20240910"
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200150
151http_archive(
152 name = "intel_ucode",
Tim Windelschmidte4895292025-02-04 03:10:39 +0100153 build_file = "//third_party/intel_ucode:intel_ucode.bzl",
Lorenz Brunc752ec62024-09-11 16:36:43 +0000154 integrity = "sha256-i3WC6sfpppE1bhizvcvHstsJSU4EDsmApKX7bQ2iYb8=",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200155 strip_prefix = "Intel-Linux-Processor-Microcode-Data-Files-microcode-" + INTEL_UCODE_VERSION,
156 urls = ["https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-%s.tar.gz" % INTEL_UCODE_VERSION],
157)
158
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200159MUSL_VERSION = "1.1.24"
160
161http_archive(
162 name = "musl",
Tim Windelschmidte4895292025-02-04 03:10:39 +0100163 build_file = "//third_party/musl:musl.bzl",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200164 integrity = "sha256-E3DJqBKyzyp9koAlEMygBYzDfmanvt1wBR8KNAFQIqM=",
165 strip_prefix = "musl-" + MUSL_VERSION,
166 urls = ["https://www.musl-libc.org/releases/musl-%s.tar.gz" % MUSL_VERSION],
167)
168
169UTIL_LINUX_VERSION = "2.36.2"
170
171http_archive(
172 name = "util_linux",
173 build_file = "//third_party/util-linux:util-linux.bzl",
174 integrity = "sha256-CEvG+b1Hm/146JJOY/hbsXlTaBvx2tJA5NhgGiEpTQs=",
175 patch_args = ["-p1"],
176 patches = ["//third_party/util-linux/patches:bazel_cc_fix.patch"],
177 strip_prefix = "util-linux-" + UTIL_LINUX_VERSION,
178 urls = ["https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/snapshot/util-linux-%s.tar.gz" % UTIL_LINUX_VERSION],
179)
180
181URCU_VERSION = "0.14.0"
182
183http_archive(
184 name = "urcu",
185 build_file = "//third_party/urcu:urcu.bzl",
186 integrity = "sha256-QvtRKaP//lpLeQ3+HqOnNMae4JX++/ZJMmJpu6lMJi0=",
187 patch_args = ["-p1"],
188 patches = ["//third_party/urcu/patches:generated-files.patch"],
189 strip_prefix = "userspace-rcu-" + URCU_VERSION,
190 urls = ["https://github.com/urcu/userspace-rcu/archive/refs/tags/v%s.tar.gz" % URCU_VERSION],
191)
192
193XFSPROGS_VERSION = "6.9.0"
194
195http_archive(
196 name = "xfsprogs",
197 build_file = "//third_party/xfsprogs:xfsprogs.bzl",
198 integrity = "sha256-/nIGlou9gXd1S6cy9jn4Ubacj3CsX5a7DhgtiGZBQL8=",
199 patch_args = ["-p1"],
200 patches = ["//third_party/xfsprogs/patches:bazel_cc_fix.patch"],
201 strip_prefix = "xfsprogs-dev-" + XFSPROGS_VERSION,
202 urls = ["https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/snapshot/xfsprogs-dev-%s.tar.gz" % XFSPROGS_VERSION],
203)
204
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200205# NOTE: Remember to update seccomp.bzl's seccomp.h template rule
206# with the correct version.
207SECCOMP_VERSION = "2.5.1"
208
209http_archive(
210 name = "seccomp",
211 build_file = "//third_party/seccomp:seccomp.bzl",
212 integrity = "sha256-dq1U4x0UOzmpkINWQEUhKpZeAmoQEKdC7deT0m1pmCk=",
213 patch_args = ["-p1"],
214 patches = [
215 "//third_party/seccomp/patches:bazel_cc_fix.patch",
216 "//third_party/seccomp/patches:fix_generated_includes.patch",
217 ],
218 strip_prefix = "libseccomp-" + SECCOMP_VERSION,
219 # We cannot use the actual release tarball as it contains files generated incorrectly for our environment
220 urls = ["https://github.com/seccomp/libseccomp/archive/v%s.tar.gz" % SECCOMP_VERSION],
221)
222
223GLIB_VERSION = "2.67.5"
224
225http_archive(
226 name = "glib",
227 integrity = "sha256-QQlm23EmONx0kFTAo8MIdUXVEGZDE5wlgGOZpRqNSrE=",
228 patch_args = [
229 "-p1",
230 "-u",
231 ],
232 patches = [
233 "//third_party/glib/patches:bazel_cc_fix.patch",
234 "//third_party/glib/patches:bazel_support.patch",
235 ],
236 strip_prefix = "glib-" + GLIB_VERSION,
237 # We cannot use the actual release tarball as it contains files generated incorrectly for our environment
238 urls = ["https://gitlab.gnome.org/GNOME/glib/-/archive/%s/glib-%s.tar.gz" % (GLIB_VERSION, GLIB_VERSION)],
239)
240
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200241# ONCHANGE(//third_party/chrony:chrony.bzl): version needs to be kept in sync
242CHRONY_VERSION = "4.1"
243
244http_archive(
245 name = "chrony",
246 build_file = "//third_party/chrony:chrony.bzl",
247 integrity = "sha256-7Xby0/k0esYiGpGtS9VT3QVlrBiM10kNCAHQj3FxFkw=",
248 patch_args = ["-p1"],
249 patches = [
250 "//third_party/chrony/patches:disable_defaults.patch",
251 "//third_party/chrony/patches:support_fixed_uids.patch",
252 ],
253 strip_prefix = "chrony-" + CHRONY_VERSION,
Tim Windelschmidtccabae92024-12-17 22:25:33 +0100254 urls = ["https://chrony-project.org/releases/chrony-%s.tar.gz" % CHRONY_VERSION],
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200255)
256
257CAP_VERSION = "1.2.55"
258
259http_archive(
260 name = "cap",
261 build_file = "//third_party/cap:cap.bzl",
262 integrity = "sha256-4pMiAy6pTpBpauLRdTDtyRTHF2UjLuj9T944umOcslY=",
263 patch_args = ["-p1"],
264 patches = [
265 "//third_party/cap/patches:add_go_codegen.patch",
266 ],
267 strip_prefix = "libcap-cap/v%s/libcap" % CAP_VERSION,
268 urls = ["https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-cap/v%s.tar.gz" % CAP_VERSION],
269)
270
271GNUEFI_VERSION = "3.0.14"
272
273http_archive(
274 name = "gnuefi",
275 build_file = "//third_party/gnuefi:gnuefi.bzl",
276 integrity = "sha256-V4XneCX+xeZm5MINeqqa9M2VI1GywJWTlydE/oQ2+Vc=",
277 strip_prefix = "gnu-efi-%s" % GNUEFI_VERSION,
278 urls = ["https://github.com/ncroxon/gnu-efi/archive/refs/tags/%s.tar.gz" % GNUEFI_VERSION],
279)
280
281# Developed in the systemd monorepo, pinned to master as there have been a bunch of critical fixes for the
282# EFI stub since 249.
283EFISTUB_VERSION = "3542da2442d8b29661b47c42ad7e5fa9bc8562ec"
284
285http_archive(
286 name = "efistub",
287 build_file = "//third_party/efistub:efistub.bzl",
288 integrity = "sha256-AhwTW+45ynNG0fCZI758BEo9NYZv9BGnyWJnAv9MlSM=",
289 patch_args = ["-p1"],
290 patches = [
291 "//third_party/efistub/patches:use-sysv-for-kernel.patch",
292 "//third_party/efistub/patches:remove-wrong-cmdline-assertion.patch",
293 "//third_party/efistub/patches:ab-slot-handling.patch",
294 ],
295 strip_prefix = "systemd-%s" % EFISTUB_VERSION,
296 urls = ["https://github.com/systemd/systemd/archive/%s.zip" % EFISTUB_VERSION],
297)
298
299LIBPG_QUERY_VERSION = "15-4.2.3"
300
301http_archive(
302 name = "libpg_query",
Tim Windelschmidte4895292025-02-04 03:10:39 +0100303 build_file = "//third_party/libpg_query:libpg_query.bzl",
Tim Windelschmidte1420ab2024-08-27 01:53:16 +0200304 integrity = "sha256-i4INY0QrFnfOTw3yqVs/r9vFIKgpAd74EhdVnsTfnms=",
305 strip_prefix = "libpg_query-" + LIBPG_QUERY_VERSION,
306 urls = ["https://github.com/pganalyze/libpg_query/archive/refs/tags/%s.tar.gz" % LIBPG_QUERY_VERSION],
307)
308
309DOSFSTOOLS_VERSION = "c888797b1d84ffbb949f147e3116e8bfb2e145a7"
310
311http_archive(
312 name = "com_github_dosfstools_dosfstools",
313 build_file = "//third_party/dosfstools:dosfstools.bzl",
314 integrity = "sha256-SkC0iMDCWcEftUeD/G8B5e6RJYK7SdM9DRGxH4WkLo0=",
315 strip_prefix = "dosfstools-" + DOSFSTOOLS_VERSION,
316 urls = ["https://github.com/dosfstools/dosfstools/archive/%s.zip" % DOSFSTOOLS_VERSION],
317)
318
319# master at 2024/01/09 (0.10.0 prerelease).
320LIBTPMS_VERSION = "93a827aeccd3ab2178281571b1545dcfffa2991b"
321
322http_archive(
323 name = "libtpms",
324 integrity = "sha256-5QnguhCfd9pRe15YqfCTvrBAUl5r5R3gbRFTyCeMcNE=",
325 patch_args = ["-p1"],
326 patches = [
327 "//third_party/libtpms/patches:0001-boringssl-compat-new-SHA-types.patch",
328 "//third_party/libtpms/patches:0002-boringssl-compat-removed-const_DES_cblock.patch",
329 "//third_party/libtpms/patches:0003-boringssl-compat-removed-EC_POINTs_mul.patch",
330 "//third_party/libtpms/patches:0004-boringssl-compat-removed-camellia-support.patch",
331 "//third_party/libtpms/patches:0005-boringssl-compat-remove-constant-time-flags-UNSAFE.patch",
332 "//third_party/libtpms/patches:0006-bazel-support-implement.patch",
333 ],
334 strip_prefix = "libtpms-" + LIBTPMS_VERSION,
335 urls = ["https://github.com/stefanberger/libtpms/archive/%s.tar.gz" % LIBTPMS_VERSION],
336)
337
338# master at 2024/06/04
339SWTPM_VERSION = "0c9a6c4a12a63b86ab472e69e95bd75853d4fa96"
340
341http_archive(
342 name = "swtpm",
343 integrity = "sha256-Fp3bE5WX+oCOES1FJFdEXHntUhuzT5mQZtIN6SFAVs4=",
344 patch_args = ["-p1"],
345 patches = [
346 "//third_party/swtpm/patches:0001-bazel-compat-glib.h-glib-glib.h.patch",
347 "//third_party/swtpm/patches:0002-swtpm_localca-replace-gmp-mpz-dependency-with-boring.patch",
348 "//third_party/swtpm/patches:0003-swtpm_setup-replace-dep-on-JSON-GLib-with-sheredom-j.patch",
349 "//third_party/swtpm/patches:0004-bazel-support-implement.patch",
350 ],
351 strip_prefix = "swtpm-" + SWTPM_VERSION,
352 urls = ["https://github.com/stefanberger/swtpm/archive/%s.tar.gz" % SWTPM_VERSION],
353)