bazel_6: init with a WIP implem

+2695
+41
pkgs/development/tools/build-managers/bazel/bazel_6/actions_path.patch
··· 1 + diff --git a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 2 + index 6fff2af..7e2877e 100644 3 + --- a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 4 + +++ b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 5 + @@ -47,6 +47,16 @@ public final class PosixLocalEnvProvider implements LocalEnvProvider { 6 + Map<String, String> env, BinTools binTools, String fallbackTmpDir) { 7 + ImmutableMap.Builder<String, String> result = ImmutableMap.builder(); 8 + result.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR"))); 9 + + 10 + + // In case we are running on NixOS. 11 + + // If bash is called with an unset PATH on this platform, 12 + + // it will set it to /no-such-path and default tools will be missings. 13 + + // See, https://github.com/NixOS/nixpkgs/issues/94222 14 + + // So we ensure that minimal dependencies are present. 15 + + if (!env.containsKey("PATH")){ 16 + + result.put("PATH", "@actionsPathPatch@"); 17 + + } 18 + + 19 + String p = clientEnv.get("TMPDIR"); 20 + if (Strings.isNullOrEmpty(p)) { 21 + // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR 22 + index 95642767c6..39d3c62461 100644 23 + --- a/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java 24 + +++ b/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java 25 + @@ -74,6 +74,16 @@ public final class XcodeLocalEnvProvider implements LocalEnvProvider { 26 + 27 + ImmutableMap.Builder<String, String> newEnvBuilder = ImmutableMap.builder(); 28 + newEnvBuilder.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR"))); 29 + + 30 + + // In case we are running on NixOS. 31 + + // If bash is called with an unset PATH on this platform, 32 + + // it will set it to /no-such-path and default tools will be missings. 33 + + // See, https://github.com/NixOS/nixpkgs/issues/94222 34 + + // So we ensure that minimal dependencies are present. 35 + + if (!env.containsKey("PATH")){ 36 + + newEnvBuilder.put("PATH", "@actionsPathPatch@"); 37 + + } 38 + + 39 + String p = clientEnv.get("TMPDIR"); 40 + if (Strings.isNullOrEmpty(p)) { 41 + // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR
+673
pkgs/development/tools/build-managers/bazel/bazel_6/default.nix
··· 1 + { stdenv, callPackage, lib, fetchurl, fetchpatch, fetchFromGitHub, installShellFiles 2 + , runCommand, runCommandCC, makeWrapper, recurseIntoAttrs 3 + # this package (through the fixpoint glass) 4 + , bazel_self 5 + # needed only for the updater 6 + , bazel_4 7 + , lr, xe, zip, unzip, bash, writeCBin, coreutils 8 + , which, gawk, gnused, gnutar, gnugrep, gzip, findutils 9 + # updater 10 + , python27, python3, writeScript 11 + # Apple dependencies 12 + , cctools, libcxx, CoreFoundation, CoreServices, Foundation 13 + # Allow to independently override the jdks used to build and run respectively 14 + , buildJdk, runJdk 15 + , runtimeShell 16 + # Downstream packages for tests 17 + , bazel-watcher 18 + # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 19 + # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 20 + , enableNixHacks ? false 21 + , gcc-unwrapped 22 + , autoPatchelfHook 23 + , file 24 + , substituteAll 25 + , writeTextFile 26 + }: 27 + 28 + let 29 + version = "6.0.0-pre.20220720.3"; 30 + sourceRoot = "."; 31 + 32 + src = fetchurl { 33 + url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; 34 + hash = "sha256-i8d4yLSq8fL+YT11wYmBvLDLSprq1gVfyjsKBYci1bk="; 35 + }; 36 + 37 + # Update with `eval $(nix-build -A bazel_5.updater)`, 38 + # then add new dependencies from the dict in ./src-deps.json as required. 39 + srcDeps = lib.attrsets.attrValues srcDepsSet; 40 + srcDepsSet = 41 + let 42 + srcs = lib.importJSON ./src-deps.json; 43 + toFetchurl = d: lib.attrsets.nameValuePair d.name (fetchurl { 44 + urls = d.urls; 45 + sha256 = d.sha256; 46 + }); 47 + in builtins.listToAttrs (map toFetchurl [ 48 + srcs.desugar_jdk_libs 49 + srcs.io_bazel_skydoc 50 + srcs.bazel_skylib 51 + srcs.bazelci_rules 52 + srcs.io_bazel_rules_sass 53 + srcs.platforms 54 + srcs.remote_java_tools_for_testing 55 + srcs.remote_java_tools_linux 56 + srcs."coverage_output_generator-v2.6.zip" 57 + srcs."java_tools_linux-v11.8.zip" 58 + srcs.build_bazel_rules_nodejs 59 + srcs."android_tools_pkg-0.26.0.tar.gz" 60 + srcs."zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 61 + srcs.bazel_toolchains 62 + srcs.com_github_grpc_grpc 63 + srcs.upb 64 + srcs.com_google_protobuf 65 + srcs.rules_pkg 66 + srcs.rules_cc 67 + srcs.rules_java 68 + srcs.rules_proto 69 + srcs.rules_nodejs 70 + srcs.rules_license 71 + srcs.com_google_absl 72 + srcs.com_googlesource_code_re2 73 + srcs.com_github_cares_cares 74 + ]); 75 + 76 + distDir = runCommand "bazel-deps" {} '' 77 + mkdir -p $out 78 + for i in ${builtins.toString srcDeps}; do cp $i $out/$(stripHash $i); done 79 + ''; 80 + 81 + defaultShellUtils = 82 + # Keep this list conservative. For more exotic tools, prefer to use 83 + # @rules_nixpkgs to pull in tools from the nix repository. Example: 84 + # 85 + # WORKSPACE: 86 + # 87 + # nixpkgs_git_repository( 88 + # name = "nixpkgs", 89 + # revision = "def5124ec8367efdba95a99523dd06d918cb0ae8", 90 + # ) 91 + # 92 + # # This defines an external Bazel workspace. 93 + # nixpkgs_package( 94 + # name = "bison", 95 + # repositories = { "nixpkgs": "@nixpkgs//:default.nix" }, 96 + # ) 97 + # 98 + # some/BUILD.bazel: 99 + # 100 + # genrule( 101 + # ... 102 + # cmd = "$(location @bison//:bin/bison) -other -args", 103 + # tools = [ 104 + # ... 105 + # "@bison//:bin/bison", 106 + # ], 107 + # ) 108 + # 109 + # Some of the scripts explicitly depend on Python 2.7. Otherwise, we 110 + # default to using python3. Therefore, both python27 and python3 are 111 + # runtime dependencies. 112 + [ 113 + bash 114 + coreutils 115 + file 116 + findutils 117 + gawk 118 + gnugrep 119 + gnused 120 + gnutar 121 + gzip 122 + python27 123 + python3 124 + unzip 125 + which 126 + zip 127 + ]; 128 + 129 + defaultShellPath = lib.makeBinPath defaultShellUtils; 130 + 131 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 132 + 133 + system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 134 + 135 + # on aarch64 Darwin, `uname -m` returns "arm64" 136 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 137 + 138 + bazelRC = writeTextFile { 139 + name = "bazel-rc"; 140 + text = '' 141 + startup --server_javabase=${runJdk} 142 + 143 + # Can't use 'common'; https://github.com/bazelbuild/bazel/issues/3054 144 + # Most commands inherit from 'build' anyway. 145 + build --distdir=${distDir} 146 + fetch --distdir=${distDir} 147 + query --distdir=${distDir} 148 + 149 + build --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition 150 + build --tool_java_runtime_version=local_jdk_11 151 + build --java_runtime_version=local_jdk_11 152 + 153 + # load default location for the system wide configuration 154 + try-import /etc/bazel.bazelrc 155 + ''; 156 + }; 157 + 158 + in 159 + stdenv.mkDerivation rec { 160 + pname = "bazel"; 161 + inherit version; 162 + 163 + meta = with lib; { 164 + homepage = "https://github.com/bazelbuild/bazel/"; 165 + description = "Build tool that builds code quickly and reliably"; 166 + sourceProvenance = with sourceTypes; [ 167 + fromSource 168 + binaryBytecode # source bundles dependencies as jars 169 + ]; 170 + license = licenses.asl20; 171 + maintainers = lib.teams.bazel.members; 172 + inherit platforms; 173 + }; 174 + 175 + inherit src; 176 + inherit sourceRoot; 177 + patches = [ 178 + # On Darwin, the last argument to gcc is coming up as an empty string. i.e: '' 179 + # This is breaking the build of any C target. This patch removes the last 180 + # argument if it's found to be an empty string. 181 + ../trim-last-argument-to-gcc-if-empty.patch 182 + 183 + # On Darwin, using clang 6 to build fails because of a linker error (see #105573), 184 + # but using clang 7 fails because libarclite_macosx.a cannot be found when linking 185 + # the xcode_locator tool. 186 + # This patch removes using the -fobjc-arc compiler option and makes the code 187 + # compile without automatic reference counting. Caveat: this leaks memory, but 188 + # we accept this fact because xcode_locator is only a short-lived process used during the build. 189 + (substituteAll { 190 + src = ./no-arc.patch; 191 + multiBinPatch = if stdenv.hostPlatform.system == "aarch64-darwin" then "arm64" else "x86_64"; 192 + }) 193 + 194 + # --experimental_strict_action_env (which may one day become the default 195 + # see bazelbuild/bazel#2574) hardcodes the default 196 + # action environment to a non hermetic value (e.g. "/usr/local/bin"). 197 + # This is non hermetic on non-nixos systems. On NixOS, bazel cannot find the required binaries. 198 + # So we are replacing this bazel paths by defaultShellPath, 199 + # improving hermeticity and making it work in nixos. 200 + (substituteAll { 201 + src = ../strict_action_env.patch; 202 + strictActionEnvPatch = defaultShellPath; 203 + }) 204 + 205 + (substituteAll { 206 + src = ./actions_path.patch; 207 + actionsPathPatch = defaultShellPath; 208 + }) 209 + 210 + # bazel reads its system bazelrc in /etc 211 + # override this path to a builtin one 212 + (substituteAll { 213 + src = ../bazel_rc.patch; 214 + bazelSystemBazelRCPath = bazelRC; 215 + }) 216 + ] ++ lib.optional enableNixHacks ../nix-hacks.patch; 217 + 218 + 219 + # Additional tests that check bazel’s functionality. Execute 220 + # 221 + # nix-build . -A bazel_5.tests 222 + # 223 + # in the nixpkgs checkout root to exercise them locally. 224 + passthru.tests = 225 + let 226 + runLocal = name: attrs: script: 227 + let 228 + attrs' = removeAttrs attrs [ "buildInputs" ]; 229 + buildInputs = attrs.buildInputs or []; 230 + in 231 + runCommandCC name ({ 232 + inherit buildInputs; 233 + preferLocalBuild = true; 234 + meta.platforms = platforms; 235 + } // attrs') script; 236 + 237 + # bazel wants to extract itself into $install_dir/install every time it runs, 238 + # so let’s do that only once. 239 + extracted = bazelPkg: 240 + let install_dir = 241 + # `install_base` field printed by `bazel info`, minus the hash. 242 + # yes, this path is kinda magic. Sorry. 243 + "$HOME/.cache/bazel/_bazel_nixbld"; 244 + in runLocal "bazel-extracted-homedir" { passthru.install_dir = install_dir; } '' 245 + export HOME=$(mktemp -d) 246 + touch WORKSPACE # yeah, everything sucks 247 + install_base="$(${bazelPkg}/bin/bazel info | grep install_base)" 248 + # assert it’s actually below install_dir 249 + [[ "$install_base" =~ ${install_dir} ]] \ 250 + || (echo "oh no! $install_base but we are \ 251 + trying to copy ${install_dir} to $out instead!"; exit 1) 252 + cp -R ${install_dir} $out 253 + ''; 254 + 255 + bazelTest = { name, bazelScript, workspaceDir, bazelPkg, buildInputs ? [] }: 256 + let 257 + be = extracted bazelPkg; 258 + in runLocal name { inherit buildInputs; } ( 259 + # skip extraction caching on Darwin, because nobody knows how Darwin works 260 + (lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 261 + # set up home with pre-unpacked bazel 262 + export HOME=$(mktemp -d) 263 + mkdir -p ${be.install_dir} 264 + cp -R ${be}/install ${be.install_dir} 265 + 266 + # https://stackoverflow.com/questions/47775668/bazel-how-to-skip-corrupt-installation-on-centos6 267 + # Bazel checks whether the mtime of the install dir files 268 + # is >9 years in the future, otherwise it extracts itself again. 269 + # see PosixFileMTime::IsUntampered in src/main/cpp/util 270 + # What the hell bazel. 271 + ${lr}/bin/lr -0 -U ${be.install_dir} | ${xe}/bin/xe -N0 -0 touch --date="9 years 6 months" {} 272 + '') 273 + + 274 + '' 275 + # Note https://github.com/bazelbuild/bazel/issues/5763#issuecomment-456374609 276 + # about why to create a subdir for the workspace. 277 + cp -r ${workspaceDir} wd && chmod u+w wd && cd wd 278 + 279 + ${bazelScript} 280 + 281 + touch $out 282 + ''); 283 + 284 + bazelWithNixHacks = bazel_self.override { enableNixHacks = true; }; 285 + 286 + bazel-examples = fetchFromGitHub { 287 + owner = "bazelbuild"; 288 + repo = "examples"; 289 + rev = "4183fc709c26a00366665e2d60d70521dc0b405d"; 290 + sha256 = "1mm4awx6sa0myiz9j4hwp71rpr7yh8vihf3zm15n2ii6xb82r31k"; 291 + }; 292 + 293 + in (if !stdenv.hostPlatform.isDarwin then { 294 + # `extracted` doesn’t work on darwin 295 + shebang = callPackage ../shebang-test.nix { inherit runLocal extracted bazelTest distDir; bazel = bazel_self;}; 296 + } else {}) // { 297 + bashTools = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 298 + cpp = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 299 + java = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 300 + protobuf = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self; }; 301 + pythonBinPath = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 302 + 303 + bashToolsWithNixHacks = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 304 + 305 + cppWithNixHacks = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 306 + javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 307 + protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 308 + pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 309 + 310 + # downstream packages using buildBazelPackage 311 + # fixed-output hashes of the fetch phase need to be spot-checked manually 312 + downstream = recurseIntoAttrs ({ 313 + inherit bazel-watcher; 314 + }); 315 + }; 316 + 317 + src_for_updater = stdenv.mkDerivation rec { 318 + name = "updater-sources"; 319 + inherit src; 320 + nativeBuildInputs = [ unzip ]; 321 + inherit sourceRoot; 322 + installPhase = '' 323 + runHook preInstall 324 + 325 + cp -r . "$out" 326 + 327 + runHook postInstall 328 + ''; 329 + }; 330 + # update the list of workspace dependencies 331 + passthru.updater = writeScript "update-bazel-deps.sh" '' 332 + #!${runtimeShell} 333 + (cd "${src_for_updater}" && 334 + BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ 335 + "${bazel_4}"/bin/bazel \ 336 + query 'kind(http_archive, //external:all) + kind(http_file, //external:all) + kind(distdir_tar, //external:all) + kind(git_repository, //external:all)' \ 337 + --loading_phase_threads=1 \ 338 + --output build) \ 339 + | "${python3}"/bin/python3 "${./update-srcDeps.py}" \ 340 + "${builtins.toString ./src-deps.json}" 341 + ''; 342 + 343 + # Necessary for the tests to pass on Darwin with sandbox enabled. 344 + # Bazel starts a local server and needs to bind a local address. 345 + __darwinAllowLocalNetworking = true; 346 + 347 + postPatch = let 348 + 349 + darwinPatches = '' 350 + bazelLinkFlags () { 351 + eval set -- "$NIX_LDFLAGS" 352 + local flag 353 + for flag in "$@"; do 354 + printf ' -Wl,%s' "$flag" 355 + done 356 + } 357 + 358 + # Disable Bazel's Xcode toolchain detection which would configure compilers 359 + # and linkers from Xcode instead of from PATH 360 + export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 361 + 362 + # Explicitly configure gcov since we don't have it on Darwin, so autodetection fails 363 + export GCOV=${coreutils}/bin/false 364 + 365 + # Framework search paths aren't added by bintools hook 366 + # https://github.com/NixOS/nixpkgs/pull/41914 367 + export NIX_LDFLAGS+=" -F${CoreFoundation}/Library/Frameworks -F${CoreServices}/Library/Frameworks -F${Foundation}/Library/Frameworks" 368 + 369 + # libcxx includes aren't added by libcxx hook 370 + # https://github.com/NixOS/nixpkgs/pull/41589 371 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" 372 + 373 + # don't use system installed Xcode to run clang, use Nix clang instead 374 + sed -i -E "s;/usr/bin/xcrun (--sdk macosx )?clang;${stdenv.cc}/bin/clang $NIX_CFLAGS_COMPILE $(bazelLinkFlags) -framework CoreFoundation;g" \ 375 + scripts/bootstrap/compile.sh \ 376 + tools/osx/BUILD 377 + 378 + substituteInPlace scripts/bootstrap/compile.sh --replace ' -mmacosx-version-min=10.9' "" 379 + 380 + # nixpkgs's libSystem cannot use pthread headers directly, must import GCD headers instead 381 + sed -i -e "/#include <pthread\/spawn.h>/i #include <dispatch/dispatch.h>" src/main/cpp/blaze_util_darwin.cc 382 + 383 + # clang installed from Xcode has a compatibility wrapper that forwards 384 + # invocations of gcc to clang, but vanilla clang doesn't 385 + sed -i -e 's;_find_generic(repository_ctx, "gcc", "CC", overriden_tools);_find_generic(repository_ctx, "clang", "CC", overriden_tools);g' tools/cpp/unix_cc_configure.bzl 386 + 387 + sed -i -e 's;"/usr/bin/libtool";_find_generic(repository_ctx, "libtool", "LIBTOOL", overriden_tools);g' tools/cpp/unix_cc_configure.bzl 388 + wrappers=( tools/cpp/osx_cc_wrapper.sh tools/cpp/osx_cc_wrapper.sh.tpl ) 389 + for wrapper in "''${wrappers[@]}"; do 390 + sed -i -e "s,/usr/bin/gcc,${stdenv.cc}/bin/clang,g" $wrapper 391 + sed -i -e "s,/usr/bin/install_name_tool,${cctools}/bin/install_name_tool,g" $wrapper 392 + done 393 + ''; 394 + 395 + genericPatches = '' 396 + # Substitute j2objc and objc wrapper's python shebang to plain python path. 397 + # These scripts explicitly depend on Python 2.7, hence we use python27. 398 + # See also `postFixup` where python27 is added to $out/nix-support 399 + #substituteInPlace tools/j2objc/j2objc_header_map.py --replace "$!/usr/bin/python2.7" "#!${python27}/bin/python" 400 + #substituteInPlace tools/j2objc/j2objc_wrapper.py --replace "$!/usr/bin/python2.7" "#!${python27}/bin/python" 401 + #substituteInPlace tools/objc/j2objc_dead_code_pruner.py --replace "$!/usr/bin/python2.7" "#!${python27}/bin/python" 402 + 403 + # md5sum is part of coreutils 404 + sed -i 's|/sbin/md5|md5sum|g' \ 405 + src/BUILD third_party/ijar/test/testenv.sh tools/objc/libtool.sh 406 + 407 + # replace initial value of pythonShebang variable in BazelPythonSemantics.java 408 + substituteInPlace src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java \ 409 + --replace '"#!/usr/bin/env " + pythonExecutableName' "\"#!${python3}/bin/python\"" 410 + 411 + substituteInPlace src/main/java/com/google/devtools/build/lib/starlarkbuildapi/python/PyRuntimeInfoApi.java \ 412 + --replace '"#!/usr/bin/env python3"' "\"#!${python3}/bin/python\"" 413 + 414 + # substituteInPlace is rather slow, so prefilter the files with grep 415 + grep -rlZ /bin/ src/main/java/com/google/devtools | while IFS="" read -r -d "" path; do 416 + # If you add more replacements here, you must change the grep above! 417 + # Only files containing /bin are taken into account. 418 + # We default to python3 where possible. See also `postFixup` where 419 + # python3 is added to $out/nix-support 420 + substituteInPlace "$path" \ 421 + --replace /bin/bash ${bash}/bin/bash \ 422 + --replace "/usr/bin/env bash" ${bash}/bin/bash \ 423 + --replace "/usr/bin/env python" ${python3}/bin/python \ 424 + --replace /usr/bin/env ${coreutils}/bin/env \ 425 + --replace /bin/true ${coreutils}/bin/true 426 + done 427 + 428 + grep -rlZ /bin/ tools/python | while IFS="" read -r -d "" path; do 429 + substituteInPlace "$path" \ 430 + --replace "/usr/bin/env python2" ${python27}/bin/python \ 431 + --replace "/usr/bin/env python3" ${python3}/bin/python \ 432 + --replace /usr/bin/env ${coreutils}/bin/env 433 + done 434 + 435 + # bazel test runner include references to /bin/bash 436 + substituteInPlace tools/build_rules/test_rules.bzl \ 437 + --replace /bin/bash ${bash}/bin/bash 438 + 439 + for i in $(find tools/cpp/ -type f) 440 + do 441 + substituteInPlace $i \ 442 + --replace /bin/bash ${bash}/bin/bash 443 + done 444 + 445 + # Fixup scripts that generate scripts. Not fixed up by patchShebangs below. 446 + substituteInPlace scripts/bootstrap/compile.sh \ 447 + --replace /bin/bash ${bash}/bin/bash 448 + 449 + # add nix environment vars to .bazelrc 450 + cat >> .bazelrc <<EOF 451 + # Limit the resources Bazel is allowed to use during the build to 1/2 the 452 + # available RAM and 3/4 the available CPU cores. This should help avoid 453 + # overwhelming the build machine. 454 + build --local_ram_resources=HOST_RAM*.5 455 + build --local_cpu_resources=HOST_CPUS*.75 456 + 457 + build --distdir=${distDir} 458 + fetch --distdir=${distDir} 459 + build --copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt="/g')" 460 + build --host_copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt="/g')" 461 + build --linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt="/g')" 462 + build --host_linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt="/g')" 463 + build --linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt="-Wl,/g')" 464 + build --host_linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt="-Wl,/g')" 465 + build --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition 466 + build --verbose_failures 467 + build --curses=no 468 + build --features=-layering_check 469 + EOF 470 + 471 + cat >> tools/jdk/BUILD.tools <<EOF 472 + load("@bazel_tools//tools/jdk:default_java_toolchain.bzl", "default_java_toolchain", "NONPREBUILT_TOOLCHAIN_CONFIGURATION") 473 + default_java_toolchain( 474 + name = "nonprebuilt_toolchain", 475 + configuration = NONPREBUILT_TOOLCHAIN_CONFIGURATION, 476 + java_runtime = "@local_jdk//:jdk", 477 + ) 478 + EOF 479 + 480 + cat >> third_party/grpc/bazel_1.41.0.patch <<EOF 481 + diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD 482 + index 39ee9f97c6..9128d20c85 100644 483 + --- a/third_party/grpc/BUILD 484 + +++ b/third_party/grpc/BUILD 485 + @@ -28,7 +28,6 @@ licenses(["notice"]) 486 + package( 487 + default_visibility = ["//visibility:public"], 488 + features = [ 489 + - "layering_check", 490 + "-parse_headers", 491 + ], 492 + ) 493 + EOF 494 + 495 + # add the same environment vars to compile.sh 496 + sed -e "/\$command \\\\$/a --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\" \\\\" \ 497 + -e "/\$command \\\\$/a --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\" \\\\" \ 498 + -e "/\$command \\\\$/a --linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt=\"/g')\" \\\\" \ 499 + -e "/\$command \\\\$/a --host_linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt=\"/g')\" \\\\" \ 500 + -e "/\$command \\\\$/a --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\" \\\\" \ 501 + -e "/\$command \\\\$/a --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\" \\\\" \ 502 + -e "/\$command \\\\$/a --tool_java_runtime_version=local_jdk_11 \\\\" \ 503 + -e "/\$command \\\\$/a --java_runtime_version=local_jdk_11 \\\\" \ 504 + -e "/\$command \\\\$/a --verbose_failures \\\\" \ 505 + -e "/\$command \\\\$/a --curses=no \\\\" \ 506 + -e "/\$command \\\\$/a --features=-layering_check \\\\" \ 507 + -i scripts/bootstrap/compile.sh 508 + 509 + # This is necessary to avoid: 510 + # "error: no visible @interface for 'NSDictionary' declares the selector 511 + # 'initWithContentsOfURL:error:'" 512 + # This can be removed when the apple_sdk is upgraded beyond 10.13+ 513 + sed -i '/initWithContentsOfURL:versionPlistUrl/ { 514 + N 515 + s/error:nil\];/\];/ 516 + }' tools/osx/xcode_locator.m 517 + 518 + # append the PATH with defaultShellPath in tools/bash/runfiles/runfiles.bash 519 + echo "PATH=\$PATH:${defaultShellPath}" >> runfiles.bash.tmp 520 + cat tools/bash/runfiles/runfiles.bash >> runfiles.bash.tmp 521 + mv runfiles.bash.tmp tools/bash/runfiles/runfiles.bash 522 + 523 + patchShebangs . 524 + ''; 525 + in lib.optionalString stdenv.hostPlatform.isDarwin darwinPatches 526 + + genericPatches; 527 + 528 + buildInputs = [buildJdk] ++ defaultShellUtils; 529 + 530 + # when a command can’t be found in a bazel build, you might also 531 + # need to add it to `defaultShellPath`. 532 + nativeBuildInputs = [ 533 + installShellFiles 534 + makeWrapper 535 + python3 536 + unzip 537 + which 538 + zip 539 + python3.pkgs.absl-py # Needed to build fish completion 540 + ] ++ lib.optionals (stdenv.isDarwin) [ cctools libcxx CoreFoundation CoreServices Foundation ]; 541 + 542 + # Bazel makes extensive use of symlinks in the WORKSPACE. 543 + # This causes problems with infinite symlinks if the build output is in the same location as the 544 + # Bazel WORKSPACE. This is why before executing the build, the source code is moved into a 545 + # subdirectory. 546 + # Failing to do this causes "infinite symlink expansion detected" 547 + preBuildPhases = ["preBuildPhase"]; 548 + preBuildPhase = '' 549 + mkdir bazel_src 550 + shopt -s dotglob extglob 551 + mv !(bazel_src) bazel_src 552 + ''; 553 + buildPhase = '' 554 + runHook preBuild 555 + 556 + # Increasing memory during compilation might be necessary. 557 + # export BAZEL_JAVAC_OPTS="-J-Xmx2g -J-Xms200m" 558 + 559 + # If EMBED_LABEL isn't set, it'd be auto-detected from CHANGELOG.md 560 + # and `git rev-parse --short HEAD` which would result in 561 + # "3.7.0- (@non-git)" due to non-git build and incomplete changelog. 562 + # Actual bazel releases use scripts/release/common.sh which is based 563 + # on branch/tag information which we don't have with tarball releases. 564 + # Note that .bazelversion is always correct and is based on bazel-* 565 + # executable name, version checks should work fine 566 + export EMBED_LABEL="${version}- (@non-git)" 567 + ${bash}/bin/bash ./bazel_src/compile.sh 568 + ./bazel_src/scripts/generate_bash_completion.sh \ 569 + --bazel=./bazel_src/output/bazel \ 570 + --output=./bazel_src/output/bazel-complete.bash \ 571 + --prepend=./bazel_src/scripts/bazel-complete-header.bash \ 572 + --prepend=./bazel_src/scripts/bazel-complete-template.bash 573 + ${python3}/bin/python3 ./bazel_src/scripts/generate_fish_completion.py \ 574 + --bazel=./bazel_src/output/bazel \ 575 + --output=./bazel_src/output/bazel-complete.fish 576 + 577 + # need to change directory for bazel to find the workspace 578 + cd ./bazel_src 579 + # build execlog tooling 580 + export HOME=$(mktemp -d) 581 + ./output/bazel build src/tools/execlog:parser_deploy.jar 582 + cd - 583 + 584 + runHook postBuild 585 + ''; 586 + 587 + installPhase = '' 588 + runHook preInstall 589 + 590 + mkdir -p $out/bin 591 + 592 + # official wrapper scripts that searches for $WORKSPACE_ROOT/tools/bazel 593 + # if it can’t find something in tools, it calls $out/bin/bazel-{version}-{os_arch} 594 + # The binary _must_ exist with this naming if your project contains a .bazelversion 595 + # file. 596 + cp ./bazel_src/scripts/packages/bazel.sh $out/bin/bazel 597 + wrapProgram $out/bin/bazel $wrapperfile --suffix PATH : ${defaultShellPath} 598 + mv ./bazel_src/output/bazel $out/bin/bazel-${version}-${system}-${arch} 599 + 600 + mkdir $out/share 601 + cp ./bazel_src/bazel-bin/src/tools/execlog/parser_deploy.jar $out/share/parser_deploy.jar 602 + cat <<EOF > $out/bin/bazel-execlog 603 + #!${runtimeShell} -e 604 + ${runJdk}/bin/java -jar $out/share/parser_deploy.jar \$@ 605 + EOF 606 + chmod +x $out/bin/bazel-execlog 607 + 608 + # shell completion files 609 + installShellCompletion --bash \ 610 + --name bazel.bash \ 611 + ./bazel_src/output/bazel-complete.bash 612 + installShellCompletion --zsh \ 613 + --name _bazel \ 614 + ./bazel_src/scripts/zsh_completion/_bazel 615 + installShellCompletion --fish \ 616 + --name bazel.fish \ 617 + ./bazel_src/output/bazel-complete.fish 618 + ''; 619 + 620 + # Install check fails on `aarch64-darwin` 621 + # https://github.com/NixOS/nixpkgs/issues/145587 622 + doInstallCheck = stdenv.hostPlatform.system != "aarch64-darwin"; 623 + installCheckPhase = '' 624 + export TEST_TMPDIR=$(pwd) 625 + 626 + hello_test () { 627 + $out/bin/bazel test \ 628 + --test_output=errors \ 629 + examples/cpp:hello-success_test \ 630 + examples/java-native/src/test/java/com/example/myproject:hello 631 + } 632 + 633 + cd ./bazel_src 634 + 635 + # test whether $WORKSPACE_ROOT/tools/bazel works 636 + 637 + mkdir -p tools 638 + cat > tools/bazel <<"EOF" 639 + #!${runtimeShell} -e 640 + exit 1 641 + EOF 642 + chmod +x tools/bazel 643 + 644 + # first call should fail if tools/bazel is used 645 + ! hello_test 646 + 647 + cat > tools/bazel <<"EOF" 648 + #!${runtimeShell} -e 649 + exec "$BAZEL_REAL" "$@" 650 + EOF 651 + 652 + # second call succeeds because it defers to $out/bin/bazel-{version}-{os_arch} 653 + hello_test 654 + 655 + runHook postInstall 656 + ''; 657 + 658 + # Save paths to hardcoded dependencies so Nix can detect them. 659 + # This is needed because the templates get tar’d up into a .jar. 660 + postFixup = '' 661 + mkdir -p $out/nix-support 662 + echo "${defaultShellPath}" >> $out/nix-support/depends 663 + # The string literal specifying the path to the bazel-rc file is sometimes 664 + # stored non-contiguously in the binary due to gcc optimisations, which leads 665 + # Nix to miss the hash when scanning for dependencies 666 + echo "${bazelRC}" >> $out/nix-support/depends 667 + '' + lib.optionalString stdenv.isDarwin '' 668 + echo "${cctools}" >> $out/nix-support/depends 669 + ''; 670 + 671 + dontStrip = true; 672 + dontPatchELF = true; 673 + }
+42
pkgs/development/tools/build-managers/bazel/bazel_6/no-arc.patch
··· 1 + diff --git a/tools/osx/BUILD b/tools/osx/BUILD 2 + index 990afe3e8c..cd5b7b1b7a 100644 3 + --- a/tools/osx/BUILD 4 + +++ b/tools/osx/BUILD 5 + @@ -28,8 +28,8 @@ exports_files([ 6 + ]) 7 + 8 + DARWIN_XCODE_LOCATOR_COMPILE_COMMAND = """ 9 + - /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.9 -fobjc-arc -framework CoreServices \ 10 + - -framework Foundation -arch arm64 -arch x86_64 -Wl,-no_adhoc_codesign -Wl,-no_uuid -o $@ $< && \ 11 + + /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.9 -framework CoreServices \ 12 + + -framework Foundation -arch @multiBinPatch@ -Wl,-no_uuid -o $@ $< && \ 13 + env -i codesign --identifier $@ --force --sign - $@ 14 + """ 15 + 16 + diff --git a/tools/osx/xcode_configure.bzl b/tools/osx/xcode_configure.bzl 17 + index 2b819f07ec..a98ce37673 100644 18 + --- a/tools/osx/xcode_configure.bzl 19 + +++ b/tools/osx/xcode_configure.bzl 20 + @@ -127,7 +127,6 @@ def run_xcode_locator(repository_ctx, xcode_locator_src_label): 21 + "macosx", 22 + "clang", 23 + "-mmacosx-version-min=10.9", 24 + - "-fobjc-arc", 25 + "-framework", 26 + "CoreServices", 27 + "-framework", 28 + diff --git a/tools/osx/xcode_locator.m b/tools/osx/xcode_locator.m 29 + index ed2ef87453..e0ce6dbdd1 100644 30 + --- a/tools/osx/xcode_locator.m 31 + +++ b/tools/osx/xcode_locator.m 32 + @@ -21,10 +21,6 @@ 33 + // 6,6.4,6.4.1 = 6.4.1 34 + // 6.3,6.3.0 = 6.3 35 + 36 + -#if !defined(__has_feature) || !__has_feature(objc_arc) 37 + -#error "This file requires ARC support." 38 + -#endif 39 + - 40 + #import <CoreServices/CoreServices.h> 41 + #import <Foundation/Foundation.h> 42 +
+1876
pkgs/development/tools/build-managers/bazel/bazel_6/src-deps.json
··· 1 + { 2 + "1.25.0.zip": { 3 + "name": "1.25.0.zip", 4 + "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", 5 + "urls": [ 6 + "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", 7 + "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip" 8 + ] 9 + }, 10 + "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": { 11 + "name": "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 12 + "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", 13 + "urls": [ 14 + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 15 + "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz" 16 + ] 17 + }, 18 + "20211102.0.tar.gz": { 19 + "name": "20211102.0.tar.gz", 20 + "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", 21 + "urls": [ 22 + "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", 23 + "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" 24 + ] 25 + }, 26 + "2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz": { 27 + "name": "2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", 28 + "sha256": "6a5f67874af66b239b709c572ac1a5a00fdb1b29beaf13c3e6f79b1ba10dc7c4", 29 + "urls": [ 30 + "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", 31 + "https://github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz" 32 + ] 33 + }, 34 + "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip": { 35 + "name": "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 36 + "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb", 37 + "urls": [ 38 + "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 39 + "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip" 40 + ] 41 + }, 42 + "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": { 43 + "name": "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 44 + "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", 45 + "urls": [ 46 + "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 47 + "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip" 48 + ] 49 + }, 50 + "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz": { 51 + "name": "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 52 + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", 53 + "urls": [ 54 + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 55 + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" 56 + ] 57 + }, 58 + "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz": { 59 + "name": "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", 60 + "sha256": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e", 61 + "urls": [ 62 + "https://mirror.bazel.build/github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", 63 + "https://github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz" 64 + ] 65 + }, 66 + "android_tools": { 67 + "name": "android_tools", 68 + "sha256": "ed5290594244c2eeab41f0104519bcef51e27c699ff4b379fcbd25215270513e", 69 + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.23.0.tar.gz" 70 + }, 71 + "android_tools_for_testing": { 72 + "name": "android_tools_for_testing", 73 + "patch_cmds": [ 74 + "test -f BUILD && chmod u+w BUILD || true", 75 + "echo >> BUILD", 76 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 77 + ], 78 + "patch_cmds_win": [ 79 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 80 + ], 81 + "sha256": "a86d205da8bd08515d18bb4b98e4b66b8805e57008ec55118ff5ce038c57a5f1", 82 + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.26.0.tar.gz" 83 + }, 84 + "android_tools_pkg-0.26.0.tar.gz": { 85 + "name": "android_tools_pkg-0.26.0.tar.gz", 86 + "sha256": "a86d205da8bd08515d18bb4b98e4b66b8805e57008ec55118ff5ce038c57a5f1", 87 + "urls": [ 88 + "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.26.0.tar.gz" 89 + ] 90 + }, 91 + "b1c40e1de81913a3c40e5948f78719c28152486d.zip": { 92 + "name": "b1c40e1de81913a3c40e5948f78719c28152486d.zip", 93 + "sha256": "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd", 94 + "urls": [ 95 + "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", 96 + "https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip" 97 + ] 98 + }, 99 + "bazel-skylib-1.0.3.tar.gz": { 100 + "name": "bazel-skylib-1.0.3.tar.gz", 101 + "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", 102 + "urls": [ 103 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 104 + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz" 105 + ] 106 + }, 107 + "bazel_compdb": { 108 + "generator_function": "grpc_deps", 109 + "generator_name": "bazel_compdb", 110 + "name": "bazel_compdb", 111 + "sha256": "bcecfd622c4ef272fd4ba42726a52e140b961c4eac23025f18b346c968a8cfb4", 112 + "strip_prefix": "bazel-compilation-database-0.4.5", 113 + "urls": [ 114 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz", 115 + "https://github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz" 116 + ] 117 + }, 118 + "bazel_gazelle": { 119 + "generator_function": "grpc_deps", 120 + "generator_name": "bazel_gazelle", 121 + "name": "bazel_gazelle", 122 + "sha256": "d987004a72697334a095bbaa18d615804a28280201a50ed6c234c40ccc41e493", 123 + "strip_prefix": "bazel-gazelle-0.19.1", 124 + "urls": [ 125 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/bazel-gazelle/archive/v0.19.1.tar.gz", 126 + "https://github.com/bazelbuild/bazel-gazelle/archive/v0.19.1.tar.gz" 127 + ] 128 + }, 129 + "bazel_skylib": { 130 + "generator_function": "dist_http_archive", 131 + "generator_name": "bazel_skylib", 132 + "name": "bazel_skylib", 133 + "patch_cmds": [ 134 + "test -f BUILD && chmod u+w BUILD || true", 135 + "echo >> BUILD", 136 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 137 + ], 138 + "patch_cmds_win": [ 139 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 140 + ], 141 + "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", 142 + "urls": [ 143 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 144 + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz" 145 + ] 146 + }, 147 + "bazel_toolchains": { 148 + "generator_function": "grpc_deps", 149 + "generator_name": "bazel_toolchains", 150 + "name": "bazel_toolchains", 151 + "sha256": "0b36eef8a66f39c8dbae88e522d5bbbef49d5e66e834a982402c79962281be10", 152 + "strip_prefix": "bazel-toolchains-1.0.1", 153 + "urls": [ 154 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/1.0.1.tar.gz", 155 + "https://github.com/bazelbuild/bazel-toolchains/releases/download/1.0.1/bazel-toolchains-1.0.1.tar.gz" 156 + ] 157 + }, 158 + "bazelci_rules": { 159 + "generator_function": "dist_http_archive", 160 + "generator_name": "bazelci_rules", 161 + "name": "bazelci_rules", 162 + "patch_cmds": [ 163 + "test -f BUILD && chmod u+w BUILD || true", 164 + "echo >> BUILD", 165 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 166 + ], 167 + "patch_cmds_win": [ 168 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 169 + ], 170 + "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", 171 + "strip_prefix": "bazelci_rules-1.0.0", 172 + "urls": [ 173 + "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", 174 + "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz" 175 + ] 176 + }, 177 + "bazelci_rules-1.0.0.tar.gz": { 178 + "name": "bazelci_rules-1.0.0.tar.gz", 179 + "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", 180 + "urls": [ 181 + "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", 182 + "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz" 183 + ] 184 + }, 185 + "boringssl": { 186 + "generator_function": "grpc_deps", 187 + "generator_name": "boringssl", 188 + "name": "boringssl", 189 + "sha256": "6f640262999cd1fb33cf705922e453e835d2d20f3f06fe0d77f6426c19257308", 190 + "strip_prefix": "boringssl-fc44652a42b396e1645d5e72aba053349992136a", 191 + "urls": [ 192 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/fc44652a42b396e1645d5e72aba053349992136a.tar.gz", 193 + "https://github.com/google/boringssl/archive/fc44652a42b396e1645d5e72aba053349992136a.tar.gz" 194 + ] 195 + }, 196 + "build_bazel_apple_support": { 197 + "generator_function": "grpc_deps", 198 + "generator_name": "build_bazel_apple_support", 199 + "name": "build_bazel_apple_support", 200 + "sha256": "122ebf7fe7d1c8e938af6aeaee0efe788a3a2449ece5a8d6a428cb18d6f88033", 201 + "urls": [ 202 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/0.7.1/apple_support.0.7.1.tar.gz", 203 + "https://github.com/bazelbuild/apple_support/releases/download/0.7.1/apple_support.0.7.1.tar.gz" 204 + ] 205 + }, 206 + "build_bazel_rules_apple": { 207 + "generator_function": "grpc_deps", 208 + "generator_name": "build_bazel_rules_apple", 209 + "name": "build_bazel_rules_apple", 210 + "sha256": "bdc8e66e70b8a75da23b79f1f8c6207356df07d041d96d2189add7ee0780cf4e", 211 + "strip_prefix": "rules_apple-b869b0d3868d78a1d4ffd866ccb304fb68aa12c3", 212 + "urls": [ 213 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/archive/b869b0d3868d78a1d4ffd866ccb304fb68aa12c3.tar.gz", 214 + "https://github.com/bazelbuild/rules_apple/archive/b869b0d3868d78a1d4ffd866ccb304fb68aa12c3.tar.gz" 215 + ] 216 + }, 217 + "build_bazel_rules_nodejs": { 218 + "generator_function": "dist_http_archive", 219 + "generator_name": "build_bazel_rules_nodejs", 220 + "name": "build_bazel_rules_nodejs", 221 + "sha256": "0fad45a9bda7dc1990c47b002fd64f55041ea751fafc00cd34efb96107675778", 222 + "urls": [ 223 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz", 224 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz" 225 + ] 226 + }, 227 + "com_envoyproxy_protoc_gen_validate": { 228 + "generator_function": "grpc_deps", 229 + "generator_name": "com_envoyproxy_protoc_gen_validate", 230 + "name": "com_envoyproxy_protoc_gen_validate", 231 + "sha256": "dd4962e4a9e8388a4fbc5c33e64d73bdb222f103e4bad40ca5535f81c2c606c2", 232 + "strip_prefix": "protoc-gen-validate-59da36e59fef2267fc2b1849a05159e3ecdf24f3", 233 + "urls": [ 234 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/protoc-gen-validate/archive/59da36e59fef2267fc2b1849a05159e3ecdf24f3.tar.gz", 235 + "https://github.com/envoyproxy/protoc-gen-validate/archive/59da36e59fef2267fc2b1849a05159e3ecdf24f3.tar.gz" 236 + ] 237 + }, 238 + "com_github_cares_cares": { 239 + "build_file": "@com_github_grpc_grpc//third_party:cares/cares.BUILD", 240 + "generator_function": "grpc_deps", 241 + "generator_name": "com_github_cares_cares", 242 + "name": "com_github_cares_cares", 243 + "sha256": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a", 244 + "strip_prefix": "c-ares-e982924acee7f7313b4baa4ee5ec000c5e373c30", 245 + "urls": [ 246 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", 247 + "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz" 248 + ] 249 + }, 250 + "com_github_google_benchmark": { 251 + "generator_function": "grpc_deps", 252 + "generator_name": "com_github_google_benchmark", 253 + "name": "com_github_google_benchmark", 254 + "sha256": "daa4a97e0547d76de300e325a49177b199f3689ce5a35e25d47696f7cb050f86", 255 + "strip_prefix": "benchmark-73d4d5e8d6d449fc8663765a42aa8aeeee844489", 256 + "urls": [ 257 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz", 258 + "https://github.com/google/benchmark/archive/73d4d5e8d6d449fc8663765a42aa8aeeee844489.tar.gz" 259 + ] 260 + }, 261 + "com_github_grpc_grpc": { 262 + "generator_function": "dist_http_archive", 263 + "generator_name": "com_github_grpc_grpc", 264 + "name": "com_github_grpc_grpc", 265 + "patch_args": [ 266 + "-p1" 267 + ], 268 + "patches": [ 269 + "//third_party/grpc:grpc_1.41.0.patch", 270 + "//third_party/grpc:grpc_1.41.0.win_arm64.patch" 271 + ], 272 + "sha256": "e5fb30aae1fa1cffa4ce00aa0bbfab908c0b899fcf0bbc30e268367d660d8656", 273 + "strip_prefix": "grpc-1.41.0", 274 + "urls": [ 275 + "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.41.0.tar.gz", 276 + "https://github.com/grpc/grpc/archive/v1.41.0.tar.gz" 277 + ] 278 + }, 279 + "com_google_absl": { 280 + "generator_function": "dist_http_archive", 281 + "generator_name": "com_google_absl", 282 + "name": "com_google_absl", 283 + "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", 284 + "strip_prefix": "abseil-cpp-20211102.0", 285 + "urls": [ 286 + "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", 287 + "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" 288 + ] 289 + }, 290 + "com_google_googleapis": { 291 + "generator_function": "grpc_deps", 292 + "generator_name": "com_google_googleapis", 293 + "name": "com_google_googleapis", 294 + "sha256": "5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0", 295 + "strip_prefix": "googleapis-2f9af297c84c55c8b871ba4495e01ade42476c92", 296 + "urls": [ 297 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", 298 + "https://github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz" 299 + ] 300 + }, 301 + "com_google_googletest": { 302 + "name": "com_google_googletest", 303 + "sha256": "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", 304 + "strip_prefix": "googletest-release-1.10.0", 305 + "urls": [ 306 + "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz", 307 + "https://github.com/google/googletest/archive/release-1.10.0.tar.gz" 308 + ] 309 + }, 310 + "com_google_protobuf": { 311 + "generator_function": "dist_http_archive", 312 + "generator_name": "com_google_protobuf", 313 + "name": "com_google_protobuf", 314 + "patch_args": [ 315 + "-p1" 316 + ], 317 + "patch_cmds": [ 318 + "test -f BUILD && chmod u+w BUILD || true", 319 + "echo >> BUILD", 320 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 321 + ], 322 + "patch_cmds_win": [ 323 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 324 + ], 325 + "patches": [ 326 + "//third_party/protobuf:3.19.2.patch" 327 + ], 328 + "sha256": "4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e", 329 + "strip_prefix": "protobuf-3.19.2", 330 + "urls": [ 331 + "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz", 332 + "https://github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz" 333 + ] 334 + }, 335 + "com_google_testparameterinjector": { 336 + "build_file_content": "\njava_library(\n name = \"testparameterinjector\",\n testonly = True,\n srcs = glob([\"src/main/**/*.java\"]),\n deps = [\n \"@org_snakeyaml//:snakeyaml\",\n \"@//third_party:auto_value\",\n \"@//third_party:guava\",\n \"@//third_party:junit4\",\n \"@//third_party/protobuf:protobuf_java\",\n ],\n visibility = [\"//visibility:public\"],\n)\n", 337 + "name": "com_google_testparameterinjector", 338 + "sha256": "562a0e87eb413a7dcad29ebc8d578f6f97503473943585b051c1398a58189b06", 339 + "strip_prefix": "TestParameterInjector-1.0", 340 + "urls": [ 341 + "https://mirror.bazel.build/github.com/google/TestParameterInjector/archive/v1.0.tar.gz", 342 + "https://github.com/google/TestParameterInjector/archive/v1.0.tar.gz" 343 + ] 344 + }, 345 + "com_googlesource_code_re2": { 346 + "generator_function": "grpc_deps", 347 + "generator_name": "com_googlesource_code_re2", 348 + "name": "com_googlesource_code_re2", 349 + "sha256": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e", 350 + "strip_prefix": "re2-aecba11114cf1fac5497aeb844b6966106de3eb6", 351 + "urls": [ 352 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", 353 + "https://github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz" 354 + ] 355 + }, 356 + "coverage_output_generator-v2.6.zip": { 357 + "name": "coverage_output_generator-v2.6.zip", 358 + "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", 359 + "urls": [ 360 + "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip" 361 + ] 362 + }, 363 + "cython": { 364 + "build_file": "@com_github_grpc_grpc//third_party:cython.BUILD", 365 + "generator_function": "grpc_deps", 366 + "generator_name": "cython", 367 + "name": "cython", 368 + "sha256": "e2e38e1f0572ca54d6085df3dec8b607d20e81515fb80215aed19c81e8fe2079", 369 + "strip_prefix": "cython-0.29.21", 370 + "urls": [ 371 + "https://github.com/cython/cython/archive/0.29.21.tar.gz" 372 + ] 373 + }, 374 + "desugar_jdk_libs": { 375 + "generator_function": "dist_http_archive", 376 + "generator_name": "desugar_jdk_libs", 377 + "name": "desugar_jdk_libs", 378 + "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb", 379 + "strip_prefix": "desugar_jdk_libs-5847d6a06302136d95a14b4cbd4b55a9c9f1436e", 380 + "urls": [ 381 + "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 382 + "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip" 383 + ] 384 + }, 385 + "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz": { 386 + "name": "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", 387 + "sha256": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a", 388 + "urls": [ 389 + "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", 390 + "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz" 391 + ] 392 + }, 393 + "enum34": { 394 + "build_file": "@com_github_grpc_grpc//third_party:enum34.BUILD", 395 + "generator_function": "grpc_deps", 396 + "generator_name": "enum34", 397 + "name": "enum34", 398 + "sha256": "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1", 399 + "strip_prefix": "enum34-1.1.6", 400 + "urls": [ 401 + "https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz" 402 + ] 403 + }, 404 + "envoy_api": { 405 + "generator_function": "grpc_deps", 406 + "generator_name": "envoy_api", 407 + "name": "envoy_api", 408 + "sha256": "330f2f9c938fc038b7ab438919b692d30cdfba3cf596e7824410f88da16c30b5", 409 + "strip_prefix": "data-plane-api-2f0d081fab0b0823f088c6e368f40e1992f46fcd", 410 + "urls": [ 411 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/2f0d081fab0b0823f088c6e368f40e1992f46fcd.tar.gz", 412 + "https://github.com/envoyproxy/data-plane-api/archive/2f0d081fab0b0823f088c6e368f40e1992f46fcd.tar.gz" 413 + ] 414 + }, 415 + "futures": { 416 + "build_file": "@com_github_grpc_grpc//third_party:futures.BUILD", 417 + "generator_function": "grpc_deps", 418 + "generator_name": "futures", 419 + "name": "futures", 420 + "sha256": "7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794", 421 + "strip_prefix": "futures-3.3.0", 422 + "urls": [ 423 + "https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz" 424 + ] 425 + }, 426 + "io_bazel_rules_go": { 427 + "generator_function": "grpc_deps", 428 + "generator_name": "io_bazel_rules_go", 429 + "name": "io_bazel_rules_go", 430 + "sha256": "dbf5a9ef855684f84cac2e7ae7886c5a001d4f66ae23f6904da0faaaef0d61fc", 431 + "urls": [ 432 + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.11/rules_go-v0.24.11.tar.gz", 433 + "https://github.com/bazelbuild/rules_go/releases/download/v0.24.11/rules_go-v0.24.11.tar.gz" 434 + ] 435 + }, 436 + "io_bazel_rules_python": { 437 + "generator_function": "grpc_deps", 438 + "generator_name": "io_bazel_rules_python", 439 + "name": "io_bazel_rules_python", 440 + "sha256": "aa96a691d3a8177f3215b14b0edc9641787abaaa30363a080165d06ab65e1161", 441 + "url": "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz" 442 + }, 443 + "io_bazel_rules_sass": { 444 + "generator_function": "dist_http_archive", 445 + "generator_name": "io_bazel_rules_sass", 446 + "name": "io_bazel_rules_sass", 447 + "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", 448 + "strip_prefix": "rules_sass-1.25.0", 449 + "urls": [ 450 + "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", 451 + "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip" 452 + ] 453 + }, 454 + "io_bazel_skydoc": { 455 + "generator_function": "dist_http_archive", 456 + "generator_name": "io_bazel_skydoc", 457 + "name": "io_bazel_skydoc", 458 + "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", 459 + "strip_prefix": "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd", 460 + "urls": [ 461 + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 462 + "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz" 463 + ] 464 + }, 465 + "io_opencensus_cpp": { 466 + "generator_function": "grpc_deps", 467 + "generator_name": "io_opencensus_cpp", 468 + "name": "io_opencensus_cpp", 469 + "sha256": "90d6fafa8b1a2ea613bf662731d3086e1c2ed286f458a95c81744df2dbae41b1", 470 + "strip_prefix": "opencensus-cpp-c9a4da319bc669a772928ffc55af4a61be1a1176", 471 + "urls": [ 472 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz", 473 + "https://github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz" 474 + ] 475 + }, 476 + "java_tools-v11.8.zip": { 477 + "name": "java_tools-v11.8.zip", 478 + "sha256": "8fb4d3138bd92a9d3324dae29c9f70d91ca2db18cd0bf1997446eed4657d19b3", 479 + "urls": [ 480 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools-v11.8.zip", 481 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools-v11.8.zip" 482 + ] 483 + }, 484 + "java_tools_darwin-v11.8.zip": { 485 + "name": "java_tools_darwin-v11.8.zip", 486 + "sha256": "0dcf4500cc4a1de8e563c1d48a079a7a0cf77cc246e39fd37fcc78ddf409ed26", 487 + "urls": [ 488 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_darwin-v11.8.zip", 489 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_darwin-v11.8.zip" 490 + ] 491 + }, 492 + "java_tools_linux-v11.8.zip": { 493 + "name": "java_tools_linux-v11.8.zip", 494 + "sha256": "41502b293eea292b0577b46e8d7738bfe88180562acbf99ed620b5387a60efee", 495 + "urls": [ 496 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_linux-v11.8.zip", 497 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_linux-v11.8.zip" 498 + ] 499 + }, 500 + "java_tools_windows-v11.8.zip": { 501 + "name": "java_tools_windows-v11.8.zip", 502 + "sha256": "056ed8ba64920409eab63e3c4888c1970a523d2c03965784fc3243e37195318b", 503 + "urls": [ 504 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_windows-v11.8.zip", 505 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_windows-v11.8.zip" 506 + ] 507 + }, 508 + "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip": { 509 + "name": "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", 510 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 511 + "urls": [ 512 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 513 + ] 514 + }, 515 + "opencensus_proto": { 516 + "generator_function": "grpc_deps", 517 + "generator_name": "opencensus_proto", 518 + "name": "opencensus_proto", 519 + "sha256": "b7e13f0b4259e80c3070b583c2f39e53153085a6918718b1c710caf7037572b0", 520 + "strip_prefix": "opencensus-proto-0.3.0/src", 521 + "urls": [ 522 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz", 523 + "https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz" 524 + ] 525 + }, 526 + "openjdk11_darwin_aarch64_archive": { 527 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 528 + "generator_function": "dist_http_archive", 529 + "generator_name": "openjdk11_darwin_aarch64_archive", 530 + "name": "openjdk11_darwin_aarch64_archive", 531 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 532 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", 533 + "urls": [ 534 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 535 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 536 + ] 537 + }, 538 + "openjdk11_darwin_archive": { 539 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 540 + "generator_function": "dist_http_archive", 541 + "generator_name": "openjdk11_darwin_archive", 542 + "name": "openjdk11_darwin_archive", 543 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 544 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", 545 + "urls": [ 546 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 547 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 548 + ] 549 + }, 550 + "openjdk11_linux_archive": { 551 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 552 + "generator_function": "dist_http_archive", 553 + "generator_name": "openjdk11_linux_archive", 554 + "name": "openjdk11_linux_archive", 555 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 556 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", 557 + "urls": [ 558 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 559 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 560 + ] 561 + }, 562 + "openjdk11_windows_archive": { 563 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 564 + "generator_function": "dist_http_archive", 565 + "generator_name": "openjdk11_windows_archive", 566 + "name": "openjdk11_windows_archive", 567 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 568 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", 569 + "urls": [ 570 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 571 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 572 + ] 573 + }, 574 + "openjdk11_windows_arm64_archive": { 575 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 576 + "generator_function": "dist_http_archive", 577 + "generator_name": "openjdk11_windows_arm64_archive", 578 + "name": "openjdk11_windows_arm64_archive", 579 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 580 + "strip_prefix": "jdk-11.0.13+8", 581 + "urls": [ 582 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 583 + ] 584 + }, 585 + "openjdk17_darwin_aarch64_archive": { 586 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 587 + "generator_function": "dist_http_archive", 588 + "generator_name": "openjdk17_darwin_aarch64_archive", 589 + "name": "openjdk17_darwin_aarch64_archive", 590 + "sha256": "54247dde248ffbcd3c048675504b1c503b81daf2dc0d64a79e353c48d383c977", 591 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_aarch64", 592 + "urls": [ 593 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz", 594 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz" 595 + ] 596 + }, 597 + "openjdk17_darwin_archive": { 598 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 599 + "generator_function": "dist_http_archive", 600 + "generator_name": "openjdk17_darwin_archive", 601 + "name": "openjdk17_darwin_archive", 602 + "sha256": "89d04b2d99b05dcb25114178e65f6a1c5ca742e125cab0a63d87e7e42f3fcb80", 603 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_x64", 604 + "urls": [ 605 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz", 606 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz" 607 + ] 608 + }, 609 + "openjdk17_linux_archive": { 610 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 611 + "generator_function": "dist_http_archive", 612 + "generator_name": "openjdk17_linux_archive", 613 + "name": "openjdk17_linux_archive", 614 + "sha256": "73d5c4bae20325ca41b606f7eae64669db3aac638c5b3ead4a975055846ad6de", 615 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_x64", 616 + "urls": [ 617 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz", 618 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz" 619 + ] 620 + }, 621 + "openjdk17_windows_archive": { 622 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 623 + "generator_function": "dist_http_archive", 624 + "generator_name": "openjdk17_windows_archive", 625 + "name": "openjdk17_windows_archive", 626 + "sha256": "e965aa0ea7a0661a3446cf8f10ee00684b851f883b803315289f26b4aa907fdb", 627 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-win_x64", 628 + "urls": [ 629 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip", 630 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip" 631 + ] 632 + }, 633 + "openjdk17_windows_arm64_archive": { 634 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 635 + "generator_function": "dist_http_archive", 636 + "generator_name": "openjdk17_windows_arm64_archive", 637 + "name": "openjdk17_windows_arm64_archive", 638 + "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", 639 + "strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_aarch64", 640 + "urls": [ 641 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", 642 + "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip" 643 + ] 644 + }, 645 + "openjdk18_darwin_aarch64_archive": { 646 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 647 + "generator_function": "dist_http_archive", 648 + "generator_name": "openjdk18_darwin_aarch64_archive", 649 + "name": "openjdk18_darwin_aarch64_archive", 650 + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", 651 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", 652 + "urls": [ 653 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", 654 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz" 655 + ] 656 + }, 657 + "openjdk18_darwin_archive": { 658 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 659 + "generator_function": "dist_http_archive", 660 + "generator_name": "openjdk18_darwin_archive", 661 + "name": "openjdk18_darwin_archive", 662 + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", 663 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", 664 + "urls": [ 665 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", 666 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz" 667 + ] 668 + }, 669 + "openjdk18_linux_archive": { 670 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 671 + "generator_function": "dist_http_archive", 672 + "generator_name": "openjdk18_linux_archive", 673 + "name": "openjdk18_linux_archive", 674 + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", 675 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", 676 + "urls": [ 677 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", 678 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz" 679 + ] 680 + }, 681 + "openjdk18_windows_archive": { 682 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 683 + "generator_function": "dist_http_archive", 684 + "generator_name": "openjdk18_windows_archive", 685 + "name": "openjdk18_windows_archive", 686 + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", 687 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", 688 + "urls": [ 689 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", 690 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip" 691 + ] 692 + }, 693 + "openjdk18_windows_arm64_archive": { 694 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 695 + "generator_function": "dist_http_archive", 696 + "generator_name": "openjdk18_windows_arm64_archive", 697 + "name": "openjdk18_windows_arm64_archive", 698 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 699 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", 700 + "urls": [ 701 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 702 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 703 + ] 704 + }, 705 + "openjdk_linux": { 706 + "downloaded_file_path": "zulu-linux.tar.gz", 707 + "name": "openjdk_linux", 708 + "sha256": "65bfe4e0ffa74a680ee4410db46b17e30cd9397b664a92a886599fe1f3530969", 709 + "urls": [ 710 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-linux_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689070.tar.gz" 711 + ] 712 + }, 713 + "openjdk_linux_aarch64": { 714 + "downloaded_file_path": "zulu-linux-aarch64.tar.gz", 715 + "name": "openjdk_linux_aarch64", 716 + "sha256": "6b245793087300db3ee82ab0d165614f193a73a60f2f011e347756c1e6ca5bac", 717 + "urls": [ 718 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz" 719 + ] 720 + }, 721 + "openjdk_linux_aarch64_minimal": { 722 + "downloaded_file_path": "zulu-linux-aarch64-minimal.tar.gz", 723 + "name": "openjdk_linux_aarch64_minimal", 724 + "sha256": "06f6520a877704c77614bcfc4f846cc7cbcbf5eaad149bf7f19f4f16e285c9de", 725 + "urls": [ 726 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz" 727 + ] 728 + }, 729 + "openjdk_linux_aarch64_vanilla": { 730 + "downloaded_file_path": "zulu-linux-aarch64-vanilla.tar.gz", 731 + "generator_function": "dist_http_file", 732 + "generator_name": "openjdk_linux_aarch64_vanilla", 733 + "name": "openjdk_linux_aarch64_vanilla", 734 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 735 + "urls": [ 736 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 737 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 738 + ] 739 + }, 740 + "openjdk_linux_minimal": { 741 + "downloaded_file_path": "zulu-linux-minimal.tar.gz", 742 + "name": "openjdk_linux_minimal", 743 + "sha256": "91f7d52f695c681d4e21499b4319d548aadef249a6b3053e306308992e1e29ae", 744 + "urls": [ 745 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689068.tar.gz" 746 + ] 747 + }, 748 + "openjdk_linux_ppc64le_vanilla": { 749 + "downloaded_file_path": "adoptopenjdk-ppc64le-vanilla.tar.gz", 750 + "generator_function": "dist_http_file", 751 + "generator_name": "openjdk_linux_ppc64le_vanilla", 752 + "name": "openjdk_linux_ppc64le_vanilla", 753 + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", 754 + "urls": [ 755 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", 756 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" 757 + ] 758 + }, 759 + "openjdk_linux_s390x_vanilla": { 760 + "downloaded_file_path": "adoptopenjdk-s390x-vanilla.tar.gz", 761 + "generator_function": "dist_http_file", 762 + "generator_name": "openjdk_linux_s390x_vanilla", 763 + "name": "openjdk_linux_s390x_vanilla", 764 + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", 765 + "urls": [ 766 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", 767 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" 768 + ] 769 + }, 770 + "openjdk_linux_vanilla": { 771 + "downloaded_file_path": "zulu-linux-vanilla.tar.gz", 772 + "generator_function": "dist_http_file", 773 + "generator_name": "openjdk_linux_vanilla", 774 + "name": "openjdk_linux_vanilla", 775 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 776 + "urls": [ 777 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 778 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 779 + ] 780 + }, 781 + "openjdk_macos_aarch64": { 782 + "downloaded_file_path": "zulu-macos-aarch64.tar.gz", 783 + "name": "openjdk_macos_aarch64", 784 + "sha256": "a900ef793cb34b03ac5d93ea2f67291b6842e99d500934e19393a8d8f9bfa6ff", 785 + "urls": [ 786 + "https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-allmodules-1611665569.tar.gz" 787 + ] 788 + }, 789 + "openjdk_macos_aarch64_minimal": { 790 + "downloaded_file_path": "zulu-macos-aarch64-minimal.tar.gz", 791 + "name": "openjdk_macos_aarch64_minimal", 792 + "sha256": "f4f606926e6deeaa8b8397e299313d9df87642fe464b0ccf1ed0432aeb00640b", 793 + "urls": [ 794 + "https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-minimal-1611665562.tar.gz" 795 + ] 796 + }, 797 + "openjdk_macos_aarch64_vanilla": { 798 + "downloaded_file_path": "zulu-macos-aarch64-vanilla.tar.gz", 799 + "generator_function": "dist_http_file", 800 + "generator_name": "openjdk_macos_aarch64_vanilla", 801 + "name": "openjdk_macos_aarch64_vanilla", 802 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 803 + "urls": [ 804 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 805 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 806 + ] 807 + }, 808 + "openjdk_macos_x86_64": { 809 + "downloaded_file_path": "zulu-macos.tar.gz", 810 + "name": "openjdk_macos_x86_64", 811 + "sha256": "8e283cfd23c7555be8e17295ed76eb8f00324c88ab904b8de37bbe08f90e569b", 812 + "urls": [ 813 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689066.tar.gz" 814 + ] 815 + }, 816 + "openjdk_macos_x86_64_minimal": { 817 + "downloaded_file_path": "zulu-macos-minimal.tar.gz", 818 + "name": "openjdk_macos_x86_64_minimal", 819 + "sha256": "1bacb1c07035d4066d79f0b65b4ea0ebd1954f3662bdfe3618da382ac8fd23a6", 820 + "urls": [ 821 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689063.tar.gz" 822 + ] 823 + }, 824 + "openjdk_macos_x86_64_vanilla": { 825 + "downloaded_file_path": "zulu-macos-vanilla.tar.gz", 826 + "generator_function": "dist_http_file", 827 + "generator_name": "openjdk_macos_x86_64_vanilla", 828 + "name": "openjdk_macos_x86_64_vanilla", 829 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 830 + "urls": [ 831 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 832 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 833 + ] 834 + }, 835 + "openjdk_win": { 836 + "downloaded_file_path": "zulu-win.zip", 837 + "name": "openjdk_win", 838 + "sha256": "8e1604b3a27dcf639bc6d1a73103f1211848139e4cceb081d0a74a99e1e6f995", 839 + "urls": [ 840 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip" 841 + ] 842 + }, 843 + "openjdk_win_arm64_vanilla": { 844 + "downloaded_file_path": "zulu-win-arm64.zip", 845 + "generator_function": "dist_http_file", 846 + "generator_name": "openjdk_win_arm64_vanilla", 847 + "name": "openjdk_win_arm64_vanilla", 848 + "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", 849 + "urls": [ 850 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", 851 + "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip" 852 + ] 853 + }, 854 + "openjdk_win_minimal": { 855 + "downloaded_file_path": "zulu-win-minimal.zip", 856 + "name": "openjdk_win_minimal", 857 + "sha256": "b90a713c9c2d9ea23cad44d2c2dfcc9af22faba9bde55dedc1c3bb9f556ac1ae", 858 + "urls": [ 859 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip" 860 + ] 861 + }, 862 + "openjdk_win_vanilla": { 863 + "downloaded_file_path": "zulu-win-vanilla.zip", 864 + "generator_function": "dist_http_file", 865 + "generator_name": "openjdk_win_vanilla", 866 + "name": "openjdk_win_vanilla", 867 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 868 + "urls": [ 869 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 870 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 871 + ] 872 + }, 873 + "org_snakeyaml": { 874 + "build_file_content": "\njava_library(\n name = \"snakeyaml\",\n srcs = glob([\"src/main/**/*.java\"]),\n visibility = [\n \"@io_bazel//src/main/java/com/google/devtools/build/docgen/release:__pkg__\",\n \"@com_google_testparameterinjector//:__pkg__\",\n ],\n)\n", 875 + "name": "org_snakeyaml", 876 + "sha256": "fd0e0cc6c5974fc8f08be3a15fb4a59954c7dd958b5b68186a803de6420b6e40", 877 + "strip_prefix": "asomov-snakeyaml-b28f0b4d87c6", 878 + "urls": [ 879 + "https://mirror.bazel.build/bitbucket.org/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz" 880 + ] 881 + }, 882 + "platforms": { 883 + "generator_function": "dist_http_archive", 884 + "generator_name": "platforms", 885 + "name": "platforms", 886 + "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", 887 + "urls": [ 888 + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", 889 + "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz" 890 + ] 891 + }, 892 + "platforms-0.0.5.tar.gz": { 893 + "name": "platforms-0.0.5.tar.gz", 894 + "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", 895 + "urls": [ 896 + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", 897 + "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz" 898 + ] 899 + }, 900 + "r8-3.3.28.jar": { 901 + "name": "r8-3.3.28.jar", 902 + "sha256": "8626ca32fb47aba7fddd2c897615e2e8ffcdb4d4b213572a2aefb3f838f01972", 903 + "urls": [ 904 + "https://maven.google.com/com/android/tools/r8/3.3.28/r8-3.3.28.jar" 905 + ] 906 + }, 907 + "remote_coverage_tools": { 908 + "name": "remote_coverage_tools", 909 + "sha256": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", 910 + "urls": [ 911 + "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip" 912 + ] 913 + }, 914 + "remote_java_tools_darwin": { 915 + "generator_function": "maybe", 916 + "generator_name": "remote_java_tools_darwin", 917 + "name": "remote_java_tools_darwin", 918 + "sha256": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", 919 + "urls": [ 920 + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", 921 + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_darwin-v10.6.zip" 922 + ] 923 + }, 924 + "remote_java_tools_darwin_for_testing": { 925 + "generator_function": "dist_http_archive", 926 + "generator_name": "remote_java_tools_darwin_for_testing", 927 + "name": "remote_java_tools_darwin_for_testing", 928 + "patch_cmds": [ 929 + "test -f BUILD && chmod u+w BUILD || true", 930 + "echo >> BUILD", 931 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 932 + ], 933 + "patch_cmds_win": [ 934 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 935 + ], 936 + "sha256": "0dcf4500cc4a1de8e563c1d48a079a7a0cf77cc246e39fd37fcc78ddf409ed26", 937 + "urls": [ 938 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_darwin-v11.8.zip", 939 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_darwin-v11.8.zip" 940 + ] 941 + }, 942 + "remote_java_tools_for_testing": { 943 + "generator_function": "dist_http_archive", 944 + "generator_name": "remote_java_tools_for_testing", 945 + "name": "remote_java_tools_for_testing", 946 + "patch_cmds": [ 947 + "test -f BUILD && chmod u+w BUILD || true", 948 + "echo >> BUILD", 949 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 950 + ], 951 + "patch_cmds_win": [ 952 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 953 + ], 954 + "sha256": "8fb4d3138bd92a9d3324dae29c9f70d91ca2db18cd0bf1997446eed4657d19b3", 955 + "urls": [ 956 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools-v11.8.zip", 957 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools-v11.8.zip" 958 + ] 959 + }, 960 + "remote_java_tools_linux": { 961 + "generator_function": "maybe", 962 + "generator_name": "remote_java_tools_linux", 963 + "name": "remote_java_tools_linux", 964 + "sha256": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", 965 + "urls": [ 966 + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", 967 + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_linux-v10.6.zip" 968 + ] 969 + }, 970 + "remote_java_tools_linux_for_testing": { 971 + "generator_function": "dist_http_archive", 972 + "generator_name": "remote_java_tools_linux_for_testing", 973 + "name": "remote_java_tools_linux_for_testing", 974 + "patch_cmds": [ 975 + "test -f BUILD && chmod u+w BUILD || true", 976 + "echo >> BUILD", 977 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 978 + ], 979 + "patch_cmds_win": [ 980 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 981 + ], 982 + "sha256": "41502b293eea292b0577b46e8d7738bfe88180562acbf99ed620b5387a60efee", 983 + "urls": [ 984 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_linux-v11.8.zip", 985 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_linux-v11.8.zip" 986 + ] 987 + }, 988 + "remote_java_tools_test": { 989 + "generator_function": "dist_http_archive", 990 + "generator_name": "remote_java_tools_test", 991 + "name": "remote_java_tools_test", 992 + "patch_cmds": [ 993 + "test -f BUILD && chmod u+w BUILD || true", 994 + "echo >> BUILD", 995 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 996 + ], 997 + "patch_cmds_win": [ 998 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 999 + ], 1000 + "sha256": "8fb4d3138bd92a9d3324dae29c9f70d91ca2db18cd0bf1997446eed4657d19b3", 1001 + "urls": [ 1002 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools-v11.8.zip", 1003 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools-v11.8.zip" 1004 + ] 1005 + }, 1006 + "remote_java_tools_test_darwin": { 1007 + "generator_function": "dist_http_archive", 1008 + "generator_name": "remote_java_tools_test_darwin", 1009 + "name": "remote_java_tools_test_darwin", 1010 + "patch_cmds": [ 1011 + "test -f BUILD && chmod u+w BUILD || true", 1012 + "echo >> BUILD", 1013 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1014 + ], 1015 + "patch_cmds_win": [ 1016 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1017 + ], 1018 + "sha256": "0dcf4500cc4a1de8e563c1d48a079a7a0cf77cc246e39fd37fcc78ddf409ed26", 1019 + "urls": [ 1020 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_darwin-v11.8.zip", 1021 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_darwin-v11.8.zip" 1022 + ] 1023 + }, 1024 + "remote_java_tools_test_linux": { 1025 + "generator_function": "dist_http_archive", 1026 + "generator_name": "remote_java_tools_test_linux", 1027 + "name": "remote_java_tools_test_linux", 1028 + "patch_cmds": [ 1029 + "test -f BUILD && chmod u+w BUILD || true", 1030 + "echo >> BUILD", 1031 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1032 + ], 1033 + "patch_cmds_win": [ 1034 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1035 + ], 1036 + "sha256": "41502b293eea292b0577b46e8d7738bfe88180562acbf99ed620b5387a60efee", 1037 + "urls": [ 1038 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_linux-v11.8.zip", 1039 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_linux-v11.8.zip" 1040 + ] 1041 + }, 1042 + "remote_java_tools_test_windows": { 1043 + "generator_function": "dist_http_archive", 1044 + "generator_name": "remote_java_tools_test_windows", 1045 + "name": "remote_java_tools_test_windows", 1046 + "patch_cmds": [ 1047 + "test -f BUILD && chmod u+w BUILD || true", 1048 + "echo >> BUILD", 1049 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1050 + ], 1051 + "patch_cmds_win": [ 1052 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1053 + ], 1054 + "sha256": "056ed8ba64920409eab63e3c4888c1970a523d2c03965784fc3243e37195318b", 1055 + "urls": [ 1056 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_windows-v11.8.zip", 1057 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_windows-v11.8.zip" 1058 + ] 1059 + }, 1060 + "remote_java_tools_windows": { 1061 + "generator_function": "maybe", 1062 + "generator_name": "remote_java_tools_windows", 1063 + "name": "remote_java_tools_windows", 1064 + "sha256": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", 1065 + "urls": [ 1066 + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", 1067 + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_windows-v10.6.zip" 1068 + ] 1069 + }, 1070 + "remote_java_tools_windows_for_testing": { 1071 + "generator_function": "dist_http_archive", 1072 + "generator_name": "remote_java_tools_windows_for_testing", 1073 + "name": "remote_java_tools_windows_for_testing", 1074 + "patch_cmds": [ 1075 + "test -f BUILD && chmod u+w BUILD || true", 1076 + "echo >> BUILD", 1077 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1078 + ], 1079 + "patch_cmds_win": [ 1080 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1081 + ], 1082 + "sha256": "056ed8ba64920409eab63e3c4888c1970a523d2c03965784fc3243e37195318b", 1083 + "urls": [ 1084 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.8/java_tools_windows-v11.8.zip", 1085 + "https://github.com/bazelbuild/java_tools/releases/download/java_v11.8/java_tools_windows-v11.8.zip" 1086 + ] 1087 + }, 1088 + "remotejdk11_linux": { 1089 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1090 + "generator_function": "maybe", 1091 + "generator_name": "remotejdk11_linux", 1092 + "name": "remotejdk11_linux", 1093 + "sha256": "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", 1094 + "strip_prefix": "zulu11.37.17-ca-jdk11.0.6-linux_x64", 1095 + "urls": [ 1096 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz" 1097 + ] 1098 + }, 1099 + "remotejdk11_linux_aarch64": { 1100 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1101 + "generator_function": "maybe", 1102 + "generator_name": "remotejdk11_linux_aarch64", 1103 + "name": "remotejdk11_linux_aarch64", 1104 + "sha256": "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", 1105 + "strip_prefix": "zulu11.37.48-ca-jdk11.0.6-linux_aarch64", 1106 + "urls": [ 1107 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz" 1108 + ] 1109 + }, 1110 + "remotejdk11_linux_aarch64_for_testing": { 1111 + "build_file": "@local_jdk//:BUILD.bazel", 1112 + "generator_function": "dist_http_archive", 1113 + "generator_name": "remotejdk11_linux_aarch64_for_testing", 1114 + "name": "remotejdk11_linux_aarch64_for_testing", 1115 + "patch_cmds": [ 1116 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1117 + "echo >> BUILD.bazel", 1118 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1119 + ], 1120 + "patch_cmds_win": [ 1121 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1122 + ], 1123 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 1124 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", 1125 + "urls": [ 1126 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 1127 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 1128 + ] 1129 + }, 1130 + "remotejdk11_linux_for_testing": { 1131 + "build_file": "@local_jdk//:BUILD.bazel", 1132 + "generator_function": "dist_http_archive", 1133 + "generator_name": "remotejdk11_linux_for_testing", 1134 + "name": "remotejdk11_linux_for_testing", 1135 + "patch_cmds": [ 1136 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1137 + "echo >> BUILD.bazel", 1138 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1139 + ], 1140 + "patch_cmds_win": [ 1141 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1142 + ], 1143 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 1144 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", 1145 + "urls": [ 1146 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 1147 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 1148 + ] 1149 + }, 1150 + "remotejdk11_linux_ppc64le": { 1151 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1152 + "generator_function": "maybe", 1153 + "generator_name": "remotejdk11_linux_ppc64le", 1154 + "name": "remotejdk11_linux_ppc64le", 1155 + "sha256": "a417db0295b1f4b538ecbaf7c774f3a177fab9657a665940170936c0eca4e71a", 1156 + "strip_prefix": "jdk-11.0.7+10", 1157 + "urls": [ 1158 + "https://mirror.bazel.build/openjdk/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz", 1159 + "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz" 1160 + ] 1161 + }, 1162 + "remotejdk11_linux_ppc64le_for_testing": { 1163 + "build_file": "@local_jdk//:BUILD.bazel", 1164 + "generator_function": "dist_http_archive", 1165 + "generator_name": "remotejdk11_linux_ppc64le_for_testing", 1166 + "name": "remotejdk11_linux_ppc64le_for_testing", 1167 + "patch_cmds": [ 1168 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1169 + "echo >> BUILD.bazel", 1170 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1171 + ], 1172 + "patch_cmds_win": [ 1173 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1174 + ], 1175 + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", 1176 + "strip_prefix": "jdk-11.0.15+10", 1177 + "urls": [ 1178 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", 1179 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" 1180 + ] 1181 + }, 1182 + "remotejdk11_linux_s390x": { 1183 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1184 + "generator_function": "maybe", 1185 + "generator_name": "remotejdk11_linux_s390x", 1186 + "name": "remotejdk11_linux_s390x", 1187 + "sha256": "d9b72e87a1d3ebc0c9552f72ae5eb150fffc0298a7cb841f1ce7bfc70dcd1059", 1188 + "strip_prefix": "jdk-11.0.7+10", 1189 + "urls": [ 1190 + "https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz", 1191 + "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz" 1192 + ] 1193 + }, 1194 + "remotejdk11_linux_s390x_for_testing": { 1195 + "build_file": "@local_jdk//:BUILD.bazel", 1196 + "generator_function": "dist_http_archive", 1197 + "generator_name": "remotejdk11_linux_s390x_for_testing", 1198 + "name": "remotejdk11_linux_s390x_for_testing", 1199 + "patch_cmds": [ 1200 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1201 + "echo >> BUILD.bazel", 1202 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1203 + ], 1204 + "patch_cmds_win": [ 1205 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1206 + ], 1207 + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", 1208 + "strip_prefix": "jdk-11.0.15+10", 1209 + "urls": [ 1210 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", 1211 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" 1212 + ] 1213 + }, 1214 + "remotejdk11_macos": { 1215 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1216 + "generator_function": "maybe", 1217 + "generator_name": "remotejdk11_macos", 1218 + "name": "remotejdk11_macos", 1219 + "sha256": "e1fe56769f32e2aaac95e0a8f86b5a323da5af3a3b4bba73f3086391a6cc056f", 1220 + "strip_prefix": "zulu11.37.17-ca-jdk11.0.6-macosx_x64", 1221 + "urls": [ 1222 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz" 1223 + ] 1224 + }, 1225 + "remotejdk11_macos_aarch64": { 1226 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1227 + "generator_function": "maybe", 1228 + "generator_name": "remotejdk11_macos_aarch64", 1229 + "name": "remotejdk11_macos_aarch64", 1230 + "sha256": "3dcc636e64ae58b922269c2dc9f20f6f967bee90e3f6847d643c4a566f1e8d8a", 1231 + "strip_prefix": "zulu11.45.27-ca-jdk11.0.10-macosx_aarch64", 1232 + "urls": [ 1233 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64.tar.gz", 1234 + "https://cdn.azul.com/zulu/bin/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64.tar.gz" 1235 + ] 1236 + }, 1237 + "remotejdk11_macos_aarch64_for_testing": { 1238 + "build_file": "@local_jdk//:BUILD.bazel", 1239 + "generator_function": "dist_http_archive", 1240 + "generator_name": "remotejdk11_macos_aarch64_for_testing", 1241 + "name": "remotejdk11_macos_aarch64_for_testing", 1242 + "patch_cmds": [ 1243 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1244 + "echo >> BUILD.bazel", 1245 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1246 + ], 1247 + "patch_cmds_win": [ 1248 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1249 + ], 1250 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 1251 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", 1252 + "urls": [ 1253 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 1254 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 1255 + ] 1256 + }, 1257 + "remotejdk11_macos_for_testing": { 1258 + "build_file": "@local_jdk//:BUILD.bazel", 1259 + "generator_function": "dist_http_archive", 1260 + "generator_name": "remotejdk11_macos_for_testing", 1261 + "name": "remotejdk11_macos_for_testing", 1262 + "patch_cmds": [ 1263 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1264 + "echo >> BUILD.bazel", 1265 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1266 + ], 1267 + "patch_cmds_win": [ 1268 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1269 + ], 1270 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 1271 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", 1272 + "urls": [ 1273 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1274 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 1275 + ] 1276 + }, 1277 + "remotejdk11_win": { 1278 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1279 + "generator_function": "maybe", 1280 + "generator_name": "remotejdk11_win", 1281 + "name": "remotejdk11_win", 1282 + "sha256": "a9695617b8374bfa171f166951214965b1d1d08f43218db9a2a780b71c665c18", 1283 + "strip_prefix": "zulu11.37.17-ca-jdk11.0.6-win_x64", 1284 + "urls": [ 1285 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64.zip" 1286 + ] 1287 + }, 1288 + "remotejdk11_win_arm64_for_testing": { 1289 + "build_file": "@local_jdk//:BUILD.bazel", 1290 + "generator_function": "dist_http_archive", 1291 + "generator_name": "remotejdk11_win_arm64_for_testing", 1292 + "name": "remotejdk11_win_arm64_for_testing", 1293 + "patch_cmds": [ 1294 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1295 + "echo >> BUILD.bazel", 1296 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1297 + ], 1298 + "patch_cmds_win": [ 1299 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1300 + ], 1301 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 1302 + "strip_prefix": "jdk-11.0.13+8", 1303 + "urls": [ 1304 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 1305 + ] 1306 + }, 1307 + "remotejdk11_win_for_testing": { 1308 + "build_file": "@local_jdk//:BUILD.bazel", 1309 + "generator_function": "dist_http_archive", 1310 + "generator_name": "remotejdk11_win_for_testing", 1311 + "name": "remotejdk11_win_for_testing", 1312 + "patch_cmds": [ 1313 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1314 + "echo >> BUILD.bazel", 1315 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1316 + ], 1317 + "patch_cmds_win": [ 1318 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1319 + ], 1320 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 1321 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", 1322 + "urls": [ 1323 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1324 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 1325 + ] 1326 + }, 1327 + "remotejdk14_linux": { 1328 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1329 + "generator_function": "maybe", 1330 + "generator_name": "remotejdk14_linux", 1331 + "name": "remotejdk14_linux", 1332 + "sha256": "48bb8947034cd079ad1ef83335e7634db4b12a26743a0dc314b6b861480777aa", 1333 + "strip_prefix": "zulu14.28.21-ca-jdk14.0.1-linux_x64", 1334 + "urls": [ 1335 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-linux_x64.tar.gz" 1336 + ] 1337 + }, 1338 + "remotejdk14_macos": { 1339 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1340 + "generator_function": "maybe", 1341 + "generator_name": "remotejdk14_macos", 1342 + "name": "remotejdk14_macos", 1343 + "sha256": "088bd4d0890acc9f032b738283bf0f26b2a55c50b02d1c8a12c451d8ddf080dd", 1344 + "strip_prefix": "zulu14.28.21-ca-jdk14.0.1-macosx_x64", 1345 + "urls": [ 1346 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-macosx_x64.tar.gz" 1347 + ] 1348 + }, 1349 + "remotejdk14_win": { 1350 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1351 + "generator_function": "maybe", 1352 + "generator_name": "remotejdk14_win", 1353 + "name": "remotejdk14_win", 1354 + "sha256": "9cb078b5026a900d61239c866161f0d9558ec759aa15c5b4c7e905370e868284", 1355 + "strip_prefix": "zulu14.28.21-ca-jdk14.0.1-win_x64", 1356 + "urls": [ 1357 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-win_x64.zip" 1358 + ] 1359 + }, 1360 + "remotejdk15_linux": { 1361 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1362 + "generator_function": "maybe", 1363 + "generator_name": "remotejdk15_linux", 1364 + "name": "remotejdk15_linux", 1365 + "sha256": "0a38f1138c15a4f243b75eb82f8ef40855afcc402e3c2a6de97ce8235011b1ad", 1366 + "strip_prefix": "zulu15.27.17-ca-jdk15.0.0-linux_x64", 1367 + "urls": [ 1368 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz", 1369 + "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz" 1370 + ] 1371 + }, 1372 + "remotejdk15_macos": { 1373 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1374 + "generator_function": "maybe", 1375 + "generator_name": "remotejdk15_macos", 1376 + "name": "remotejdk15_macos", 1377 + "sha256": "f80b2e0512d9d8a92be24497334c974bfecc8c898fc215ce0e76594f00437482", 1378 + "strip_prefix": "zulu15.27.17-ca-jdk15.0.0-macosx_x64", 1379 + "urls": [ 1380 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz", 1381 + "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz" 1382 + ] 1383 + }, 1384 + "remotejdk15_macos_aarch64": { 1385 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1386 + "generator_function": "maybe", 1387 + "generator_name": "remotejdk15_macos_aarch64", 1388 + "name": "remotejdk15_macos_aarch64", 1389 + "sha256": "2613c3f15eef6b6ecd0fd102da92282b985e4573905dc902f1783d8059c1efc5", 1390 + "strip_prefix": "zulu15.29.15-ca-jdk15.0.2-macosx_aarch64", 1391 + "urls": [ 1392 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.tar.gz", 1393 + "https://cdn.azul.com/zulu/bin/zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.tar.gz" 1394 + ] 1395 + }, 1396 + "remotejdk15_win": { 1397 + "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", 1398 + "generator_function": "maybe", 1399 + "generator_name": "remotejdk15_win", 1400 + "name": "remotejdk15_win", 1401 + "sha256": "f535a530151e6c20de8a3078057e332b08887cb3ba1a4735717357e72765cad6", 1402 + "strip_prefix": "zulu15.27.17-ca-jdk15.0.0-win_x64", 1403 + "urls": [ 1404 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-win_x64.zip", 1405 + "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-win_x64.zip" 1406 + ] 1407 + }, 1408 + "remotejdk17_linux_for_testing": { 1409 + "build_file": "@local_jdk//:BUILD.bazel", 1410 + "generator_function": "dist_http_archive", 1411 + "generator_name": "remotejdk17_linux_for_testing", 1412 + "name": "remotejdk17_linux_for_testing", 1413 + "patch_cmds": [ 1414 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1415 + "echo >> BUILD.bazel", 1416 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1417 + ], 1418 + "patch_cmds_win": [ 1419 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1420 + ], 1421 + "sha256": "73d5c4bae20325ca41b606f7eae64669db3aac638c5b3ead4a975055846ad6de", 1422 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_x64", 1423 + "urls": [ 1424 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz", 1425 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz" 1426 + ] 1427 + }, 1428 + "remotejdk17_macos_aarch64_for_testing": { 1429 + "build_file": "@local_jdk//:BUILD.bazel", 1430 + "generator_function": "dist_http_archive", 1431 + "generator_name": "remotejdk17_macos_aarch64_for_testing", 1432 + "name": "remotejdk17_macos_aarch64_for_testing", 1433 + "patch_cmds": [ 1434 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1435 + "echo >> BUILD.bazel", 1436 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1437 + ], 1438 + "patch_cmds_win": [ 1439 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1440 + ], 1441 + "sha256": "54247dde248ffbcd3c048675504b1c503b81daf2dc0d64a79e353c48d383c977", 1442 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_aarch64", 1443 + "urls": [ 1444 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz", 1445 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz" 1446 + ] 1447 + }, 1448 + "remotejdk17_macos_for_testing": { 1449 + "build_file": "@local_jdk//:BUILD.bazel", 1450 + "generator_function": "dist_http_archive", 1451 + "generator_name": "remotejdk17_macos_for_testing", 1452 + "name": "remotejdk17_macos_for_testing", 1453 + "patch_cmds": [ 1454 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1455 + "echo >> BUILD.bazel", 1456 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1457 + ], 1458 + "patch_cmds_win": [ 1459 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1460 + ], 1461 + "sha256": "89d04b2d99b05dcb25114178e65f6a1c5ca742e125cab0a63d87e7e42f3fcb80", 1462 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_x64", 1463 + "urls": [ 1464 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz", 1465 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz" 1466 + ] 1467 + }, 1468 + "remotejdk17_win_arm64_for_testing": { 1469 + "build_file": "@local_jdk//:BUILD.bazel", 1470 + "generator_function": "dist_http_archive", 1471 + "generator_name": "remotejdk17_win_arm64_for_testing", 1472 + "name": "remotejdk17_win_arm64_for_testing", 1473 + "patch_cmds": [ 1474 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1475 + "echo >> BUILD.bazel", 1476 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1477 + ], 1478 + "patch_cmds_win": [ 1479 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1480 + ], 1481 + "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", 1482 + "strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_aarch64", 1483 + "urls": [ 1484 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", 1485 + "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip" 1486 + ] 1487 + }, 1488 + "remotejdk17_win_for_testing": { 1489 + "build_file": "@local_jdk//:BUILD.bazel", 1490 + "generator_function": "dist_http_archive", 1491 + "generator_name": "remotejdk17_win_for_testing", 1492 + "name": "remotejdk17_win_for_testing", 1493 + "patch_cmds": [ 1494 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1495 + "echo >> BUILD.bazel", 1496 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1497 + ], 1498 + "patch_cmds_win": [ 1499 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1500 + ], 1501 + "sha256": "e965aa0ea7a0661a3446cf8f10ee00684b851f883b803315289f26b4aa907fdb", 1502 + "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-win_x64", 1503 + "urls": [ 1504 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip", 1505 + "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip" 1506 + ] 1507 + }, 1508 + "remotejdk18_linux_for_testing": { 1509 + "build_file": "@local_jdk//:BUILD.bazel", 1510 + "generator_function": "dist_http_archive", 1511 + "generator_name": "remotejdk18_linux_for_testing", 1512 + "name": "remotejdk18_linux_for_testing", 1513 + "patch_cmds": [ 1514 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1515 + "echo >> BUILD.bazel", 1516 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1517 + ], 1518 + "patch_cmds_win": [ 1519 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1520 + ], 1521 + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", 1522 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", 1523 + "urls": [ 1524 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", 1525 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz" 1526 + ] 1527 + }, 1528 + "remotejdk18_macos_aarch64_for_testing": { 1529 + "build_file": "@local_jdk//:BUILD.bazel", 1530 + "generator_function": "dist_http_archive", 1531 + "generator_name": "remotejdk18_macos_aarch64_for_testing", 1532 + "name": "remotejdk18_macos_aarch64_for_testing", 1533 + "patch_cmds": [ 1534 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1535 + "echo >> BUILD.bazel", 1536 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1537 + ], 1538 + "patch_cmds_win": [ 1539 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1540 + ], 1541 + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", 1542 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", 1543 + "urls": [ 1544 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", 1545 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz" 1546 + ] 1547 + }, 1548 + "remotejdk18_macos_for_testing": { 1549 + "build_file": "@local_jdk//:BUILD.bazel", 1550 + "generator_function": "dist_http_archive", 1551 + "generator_name": "remotejdk18_macos_for_testing", 1552 + "name": "remotejdk18_macos_for_testing", 1553 + "patch_cmds": [ 1554 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1555 + "echo >> BUILD.bazel", 1556 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1557 + ], 1558 + "patch_cmds_win": [ 1559 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1560 + ], 1561 + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", 1562 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", 1563 + "urls": [ 1564 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", 1565 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz" 1566 + ] 1567 + }, 1568 + "remotejdk18_win_arm64_for_testing": { 1569 + "build_file": "@local_jdk//:BUILD.bazel", 1570 + "generator_function": "dist_http_archive", 1571 + "generator_name": "remotejdk18_win_arm64_for_testing", 1572 + "name": "remotejdk18_win_arm64_for_testing", 1573 + "patch_cmds": [ 1574 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1575 + "echo >> BUILD.bazel", 1576 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1577 + ], 1578 + "patch_cmds_win": [ 1579 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1580 + ], 1581 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 1582 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", 1583 + "urls": [ 1584 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 1585 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 1586 + ] 1587 + }, 1588 + "remotejdk18_win_for_testing": { 1589 + "build_file": "@local_jdk//:BUILD.bazel", 1590 + "generator_function": "dist_http_archive", 1591 + "generator_name": "remotejdk18_win_for_testing", 1592 + "name": "remotejdk18_win_for_testing", 1593 + "patch_cmds": [ 1594 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1595 + "echo >> BUILD.bazel", 1596 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1597 + ], 1598 + "patch_cmds_win": [ 1599 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1600 + ], 1601 + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", 1602 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", 1603 + "urls": [ 1604 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", 1605 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip" 1606 + ] 1607 + }, 1608 + "rules_cc": { 1609 + "generator_function": "dist_http_archive", 1610 + "generator_name": "rules_cc", 1611 + "name": "rules_cc", 1612 + "patch_cmds": [ 1613 + "test -f BUILD && chmod u+w BUILD || true", 1614 + "echo >> BUILD", 1615 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1616 + ], 1617 + "patch_cmds_win": [ 1618 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1619 + ], 1620 + "sha256": "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd", 1621 + "strip_prefix": "rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d", 1622 + "urls": [ 1623 + "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", 1624 + "https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip" 1625 + ] 1626 + }, 1627 + "rules_java": { 1628 + "generator_function": "dist_http_archive", 1629 + "generator_name": "rules_java", 1630 + "name": "rules_java", 1631 + "patch_cmds": [ 1632 + "test -f BUILD && chmod u+w BUILD || true", 1633 + "echo >> BUILD", 1634 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1635 + ], 1636 + "patch_cmds_win": [ 1637 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1638 + ], 1639 + "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", 1640 + "strip_prefix": "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", 1641 + "urls": [ 1642 + "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 1643 + "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip" 1644 + ] 1645 + }, 1646 + "rules_jvm_external": { 1647 + "generator_function": "grpc_extra_deps", 1648 + "generator_name": "rules_jvm_external", 1649 + "name": "rules_jvm_external", 1650 + "sha256": "f36441aa876c4f6427bfb2d1f2d723b48e9d930b62662bf723ddfb8fc80f0140", 1651 + "strip_prefix": "rules_jvm_external-4.1", 1652 + "urls": [ 1653 + "https://github.com/bazelbuild/rules_jvm_external/archive/4.1.zip" 1654 + ] 1655 + }, 1656 + "rules_license": { 1657 + "generator_function": "dist_http_archive", 1658 + "generator_name": "rules_license", 1659 + "name": "rules_license", 1660 + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", 1661 + "urls": [ 1662 + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", 1663 + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz" 1664 + ] 1665 + }, 1666 + "rules_license-0.0.3.tar.gz": { 1667 + "name": "rules_license-0.0.3.tar.gz", 1668 + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", 1669 + "urls": [ 1670 + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", 1671 + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz" 1672 + ] 1673 + }, 1674 + "rules_nodejs": { 1675 + "generator_function": "dist_http_archive", 1676 + "generator_name": "rules_nodejs", 1677 + "name": "rules_nodejs", 1678 + "sha256": "4d48998e3fa1e03c684e6bdf7ac98051232c7486bfa412e5b5475bbaec7bb257", 1679 + "urls": [ 1680 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz", 1681 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz" 1682 + ] 1683 + }, 1684 + "rules_nodejs-5.5.0.tar.gz": { 1685 + "name": "rules_nodejs-5.5.0.tar.gz", 1686 + "sha256": "0fad45a9bda7dc1990c47b002fd64f55041ea751fafc00cd34efb96107675778", 1687 + "urls": [ 1688 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz", 1689 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz" 1690 + ] 1691 + }, 1692 + "rules_nodejs-core-5.5.0.tar.gz": { 1693 + "name": "rules_nodejs-core-5.5.0.tar.gz", 1694 + "sha256": "4d48998e3fa1e03c684e6bdf7ac98051232c7486bfa412e5b5475bbaec7bb257", 1695 + "urls": [ 1696 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz", 1697 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz" 1698 + ] 1699 + }, 1700 + "rules_pkg": { 1701 + "generator_function": "dist_http_archive", 1702 + "generator_name": "rules_pkg", 1703 + "name": "rules_pkg", 1704 + "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", 1705 + "urls": [ 1706 + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", 1707 + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" 1708 + ] 1709 + }, 1710 + "rules_pkg-0.7.0.tar.gz": { 1711 + "name": "rules_pkg-0.7.0.tar.gz", 1712 + "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", 1713 + "urls": [ 1714 + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", 1715 + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" 1716 + ] 1717 + }, 1718 + "rules_proto": { 1719 + "generator_function": "dist_http_archive", 1720 + "generator_name": "rules_proto", 1721 + "name": "rules_proto", 1722 + "patch_cmds": [ 1723 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1724 + "echo >> BUILD.bazel", 1725 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1726 + ], 1727 + "patch_cmds_win": [ 1728 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1729 + ], 1730 + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", 1731 + "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488", 1732 + "urls": [ 1733 + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 1734 + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" 1735 + ] 1736 + }, 1737 + "six": { 1738 + "build_file": "@com_github_grpc_grpc//third_party:six.BUILD", 1739 + "generator_function": "grpc_deps", 1740 + "generator_name": "six", 1741 + "name": "six", 1742 + "sha256": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", 1743 + "urls": [ 1744 + "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" 1745 + ] 1746 + }, 1747 + "upb": { 1748 + "generator_function": "grpc_deps", 1749 + "generator_name": "upb", 1750 + "name": "upb", 1751 + "sha256": "6a5f67874af66b239b709c572ac1a5a00fdb1b29beaf13c3e6f79b1ba10dc7c4", 1752 + "strip_prefix": "upb-2de300726a1ba2de9a468468dc5ff9ed17a3215f", 1753 + "urls": [ 1754 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", 1755 + "https://github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz" 1756 + ] 1757 + }, 1758 + "v1.41.0.tar.gz": { 1759 + "name": "v1.41.0.tar.gz", 1760 + "sha256": "e5fb30aae1fa1cffa4ce00aa0bbfab908c0b899fcf0bbc30e268367d660d8656", 1761 + "urls": [ 1762 + "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.41.0.tar.gz", 1763 + "https://github.com/grpc/grpc/archive/v1.41.0.tar.gz" 1764 + ] 1765 + }, 1766 + "v1.5.0-4.zip": { 1767 + "name": "v1.5.0-4.zip", 1768 + "sha256": "d320d59b89a163c5efccbe4915ae6a49883ce653cdc670643dfa21c6063108e4", 1769 + "urls": [ 1770 + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.5.0-4.zip", 1771 + "https://github.com/luben/zstd-jni/archive/v1.5.0-4.zip" 1772 + ] 1773 + }, 1774 + "v3.19.2.tar.gz": { 1775 + "name": "v3.19.2.tar.gz", 1776 + "sha256": "4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e", 1777 + "urls": [ 1778 + "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz", 1779 + "https://github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz" 1780 + ] 1781 + }, 1782 + "zlib": { 1783 + "build_file": "@com_github_grpc_grpc//third_party:zlib.BUILD", 1784 + "generator_function": "grpc_deps", 1785 + "generator_name": "zlib", 1786 + "name": "zlib", 1787 + "sha256": "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45", 1788 + "strip_prefix": "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f", 1789 + "urls": [ 1790 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz", 1791 + "https://github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz" 1792 + ] 1793 + }, 1794 + "zstd-jni": { 1795 + "build_file": "//third_party:zstd-jni/zstd-jni.BUILD", 1796 + "generator_function": "dist_http_archive", 1797 + "generator_name": "zstd-jni", 1798 + "name": "zstd-jni", 1799 + "patch_args": [ 1800 + "-p1" 1801 + ], 1802 + "patch_cmds": [ 1803 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1804 + "echo >> BUILD.bazel", 1805 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1806 + ], 1807 + "patch_cmds_win": [ 1808 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1809 + ], 1810 + "patches": [ 1811 + "//third_party:zstd-jni/Native.java.patch" 1812 + ], 1813 + "sha256": "d320d59b89a163c5efccbe4915ae6a49883ce653cdc670643dfa21c6063108e4", 1814 + "strip_prefix": "zstd-jni-1.5.0-4", 1815 + "urls": [ 1816 + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.5.0-4.zip", 1817 + "https://github.com/luben/zstd-jni/archive/v1.5.0-4.zip" 1818 + ] 1819 + }, 1820 + "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz": { 1821 + "name": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 1822 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 1823 + "urls": [ 1824 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 1825 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 1826 + ] 1827 + }, 1828 + "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz": { 1829 + "name": "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 1830 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 1831 + "urls": [ 1832 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 1833 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 1834 + ] 1835 + }, 1836 + "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz": { 1837 + "name": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 1838 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 1839 + "urls": [ 1840 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 1841 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 1842 + ] 1843 + }, 1844 + "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz": { 1845 + "name": "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1846 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 1847 + "urls": [ 1848 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1849 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 1850 + ] 1851 + }, 1852 + "zulu11.56.19-ca-jdk11.0.15-win_x64.zip": { 1853 + "name": "zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1854 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 1855 + "urls": [ 1856 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1857 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 1858 + ] 1859 + }, 1860 + "zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip": { 1861 + "name": "zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", 1862 + "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", 1863 + "urls": [ 1864 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", 1865 + "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip" 1866 + ] 1867 + }, 1868 + "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip": { 1869 + "name": "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 1870 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 1871 + "urls": [ 1872 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 1873 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 1874 + ] 1875 + } 1876 + }
+54
pkgs/development/tools/build-managers/bazel/bazel_6/update-srcDeps.py
··· 1 + #!/usr/bin/env python3 2 + import sys 3 + import json 4 + 5 + if len(sys.argv) != 2: 6 + print("usage: ./this-script src-deps.json < WORKSPACE", file=sys.stderr) 7 + print("Takes the bazel WORKSPACE file and reads all archives into a json dict (by evaling it as python code)", file=sys.stderr) 8 + print("Hail Eris.", file=sys.stderr) 9 + sys.exit(1) 10 + 11 + http_archives = [] 12 + 13 + # just the kw args are the dict { name, sha256, urls … } 14 + def http_archive(**kw): 15 + http_archives.append(kw) 16 + # like http_file 17 + def http_file(**kw): 18 + http_archives.append(kw) 19 + 20 + # this is inverted from http_archive/http_file and bundles multiple archives 21 + def _distdir_tar(**kw): 22 + for archive_name in kw['archives']: 23 + http_archives.append({ 24 + "name": archive_name, 25 + "sha256": kw['sha256'][archive_name], 26 + "urls": kw['urls'][archive_name] 27 + }) 28 + 29 + # TODO? 30 + def git_repository(**kw): 31 + print(json.dumps(kw, sort_keys=True, indent=4), file=sys.stderr) 32 + sys.exit(1) 33 + 34 + # execute the WORKSPACE like it was python code in this module, 35 + # using all the function stubs from above. 36 + exec(sys.stdin.read()) 37 + 38 + # transform to a dict with the names as keys 39 + d = { el['name']: el for el in http_archives } 40 + 41 + def has_urls(el): 42 + return ('url' in el and el['url']) or ('urls' in el and el['urls']) 43 + def has_sha256(el): 44 + return 'sha256' in el and el['sha256'] 45 + bad_archives = list(filter(lambda el: not has_urls(el) or not has_sha256(el), d.values())) 46 + if bad_archives: 47 + print('Following bazel dependencies are missing url or sha256', file=sys.stderr) 48 + print('Check bazel sources for master or non-checksummed dependencies', file=sys.stderr) 49 + for el in bad_archives: 50 + print(json.dumps(el, sort_keys=True, indent=4), file=sys.stderr) 51 + sys.exit(1) 52 + 53 + with open(sys.argv[1], "w") as f: 54 + print(json.dumps(d, sort_keys=True, indent=4), file=f)
+9
pkgs/top-level/all-packages.nix
··· 15459 15459 bazel_self = bazel_5; 15460 15460 }; 15461 15461 15462 + bazel_6 = callPackage ../development/tools/build-managers/bazel/bazel_6 { 15463 + inherit (darwin) cctools; 15464 + inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Foundation; 15465 + buildJdk = jdk11_headless; 15466 + runJdk = jdk11_headless; 15467 + stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; 15468 + bazel_self = bazel_6; 15469 + }; 15470 + 15462 15471 bazel-buildtools = callPackage ../development/tools/build-managers/bazel/buildtools { }; 15463 15472 buildifier = bazel-buildtools; 15464 15473 buildozer = bazel-buildtools;