lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
90b1c05a 261dbce5

+2999 -82
+2 -2
pkgs/applications/audio/ptcollab/default.nix
··· 13 13 14 14 mkDerivation rec { 15 15 pname = "ptcollab"; 16 - version = "0.6.1.1"; 16 + version = "0.6.2.0"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "yuxshao"; 20 20 repo = "ptcollab"; 21 21 rev = "v${version}"; 22 - sha256 = "sha256-ydn3qKOK0GwA/mBPbGwSIac09b9cz6YOFbuDFFV8jJs="; 22 + sha256 = "sha256-iSCuFCwOPrvff9N/a2J0kPrxikhyR7yYbD4VaU/TF4M="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ qmake pkg-config ];
+3 -3
pkgs/applications/blockchains/electrs/default.nix
··· 12 12 in 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "electrs"; 15 - version = "0.9.7"; 15 + version = "0.9.9"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "romanz"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - hash = "sha256-hdXc64gj7QtCnTq3f5mpQDEKLM6qaDBLkQE07xxNaDE="; 21 + hash = "sha256-jU0qN+T5bHn9l/SXDR/Wa8uCGyJhIDUCHzEQe39L2MQ="; 22 22 }; 23 23 24 - cargoHash = "sha256-xMATO+H3bGkM/tLRimmLGYtrOAX8hzkw5Hb0c6iVAXY="; 24 + cargoHash = "sha256-hdScQd0Fd6gE9/f4kk0zjZLK42oK1aaDzIOcAIsJqbU="; 25 25 26 26 # needed for librocksdb-sys 27 27 nativeBuildInputs = [ llvmPackages.clang ];
+23 -1
pkgs/applications/graphics/sane/backends/default.nix
··· 1 - { stdenv, lib, fetchurl, runtimeShell 1 + { stdenv, lib, fetchurl, fetchpatch, runtimeShell, buildPackages 2 2 , gettext, pkg-config, python3 3 3 , avahi, libgphoto2, libieee1284, libjpeg, libpng, libtiff, libusb1, libv4l, net-snmp 4 4 , curl, systemd, libxml2, poppler, gawk ··· 29 29 sha256 = "055iicihxa6b28iv5fnz13n67frdr5nrydq2c846f9x7q0vw4a1s"; 30 30 }; 31 31 32 + patches = [ 33 + # sane-desc will be used in postInstall so compile it for build 34 + # https://github.com/void-linux/void-packages/blob/master/srcpkgs/sane/patches/sane-desc-cross.patch 35 + (fetchpatch { 36 + name = "compile-sane-desc-for-build.patch"; 37 + url = "https://raw.githubusercontent.com/void-linux/void-packages/4b97cd2fb4ec38712544438c2491b6d7d5ab334a/srcpkgs/sane/patches/sane-desc-cross.patch"; 38 + sha256 = "sha256-y6BOXnOJBSTqvRp6LwAucqaqv+OLLyhCS/tXfLpnAPI="; 39 + }) 40 + ]; 41 + 42 + postPatch = '' 43 + # related to the compile-sane-desc-for-build 44 + substituteInPlace tools/Makefile.in \ 45 + --replace 'cc -I' '$(CC_FOR_BUILD) -I' 46 + ''; 47 + 32 48 outputs = [ "out" "doc" "man" ]; 49 + 50 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 33 51 34 52 nativeBuildInputs = [ 35 53 gettext ··· 61 79 lib.optional (avahi != null) "--with-avahi" 62 80 ++ lib.optional (libusb1 != null) "--with-usb" 63 81 ; 82 + 83 + # autoconf check for HAVE_MMAP is never set on cross compilation. 84 + # The pieusb backend fails compilation if HAVE_MMAP is not set. 85 + buildFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "CFLAGS=-DHAVE_MMAP=${if stdenv.hostPlatform.isLinux then "1" else "0"}" ]; 64 86 65 87 postInstall = let 66 88
+2 -2
pkgs/applications/misc/p2pool/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "p2pool"; 18 - version = "2.2.1"; 18 + version = "2.3"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "SChernykh"; 22 22 repo = "p2pool"; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-iDswjKDGii1OnMmdhiisbwuWjs7omNOF+tubJLs69qY="; 24 + sha256 = "sha256-hf0iU246cmTCDYotPdTACFY135L2+cRV3FpVYnRZtRc="; 25 25 fetchSubmodules = true; 26 26 }; 27 27
+1 -1
pkgs/applications/misc/topydo/default.nix
··· 1 - { lib, python3Packages, fetchFromGitHub, glibcLocales, unittestCheckHook }: 1 + { lib, python3Packages, fetchFromGitHub, glibcLocales }: 2 2 3 3 with python3Packages; 4 4
+3 -3
pkgs/applications/networking/cluster/talosctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "talosctl"; 5 - version = "1.1.2"; 5 + version = "1.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "siderolabs"; 9 9 repo = "talos"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-20dbBRJ0OwRiYoLVmXyV8XApOzGsyppaTW079TGK5fI="; 11 + sha256 = "sha256-+cipDqPsBrUw4Q3uDkV76buPWTgtJXnvFsEaqqifTH8="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-Xb4gkYBDTSFPwxCSxVqXLxDLn75xyy/k6Vwy+ot59KU="; 14 + vendorSha256 = "sha256-58XLmJaE3g2KG9e4rOyO1ouBBlCGX96e8AWfr0XVHC4="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+2 -2
pkgs/applications/networking/instant-messengers/cinny/default.nix
··· 4 4 configOverrides = writeText "cinny-config-overrides.json" (builtins.toJSON conf); 5 5 in stdenv.mkDerivation rec { 6 6 pname = "cinny"; 7 - version = "2.1.2"; 7 + version = "2.1.3"; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/ajbura/cinny/releases/download/v${version}/cinny-v${version}.tar.gz"; 11 - sha256 = "sha256-UbL9HP90zfsoj/ClUoBF27n5zkvvN4UU4pxQu8QsoUA="; 11 + sha256 = "sha256-Tn8pT0tppBEQtLdwQf0edUBe3dkK7fedunnNYIld/SQ="; 12 12 }; 13 13 14 14 installPhase = ''
+4
pkgs/applications/science/logic/z3/default.nix
··· 84 84 }; 85 85 in 86 86 { 87 + z3_4_11 = common { 88 + version = "4.11.0"; 89 + sha256 = "sha256-ItmtZHDhCeLAVtN7K80dqyAh20o7TM4xk2sTb9QgHvk="; 90 + }; 87 91 z3_4_8 = common { 88 92 version = "4.8.15"; 89 93 sha256 = "0xkwqz0y5d1lfb6kfqy8wn8n2dqalzf4c8ghmjsajc1bpdl70yc5";
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "obs-gstreamer"; 13 - version = "0.3.4"; 13 + version = "0.3.5"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "fzwoch"; 17 17 repo = "obs-gstreamer"; 18 18 rev = "v${version}"; 19 - hash = "sha256-CDtWe4bx1M06nfqvVmIZaLQoKAsXFnG0Xy/mhiSbMgU="; 19 + hash = "sha256-zP1MMoXLp+gp0fjVbWi/Wse6I8u9/K2IeSew3OjkCkE="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ pkg-config meson ninja ];
+3 -3
pkgs/applications/virtualization/nixpacks/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "nixpacks"; 5 - version = "0.3.8"; 5 + version = "0.3.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "railwayapp"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Fzj22vGW4qLXSw5lICxVbiVFxYYvkarVLLHT+DdLVRk="; 11 + sha256 = "sha256-wzbyBofWYXkOx+kNAmo9lDQdfkYLndh+Pw09+bxNqbU="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-v3LNadq3E08Z+LfRSGQxG1HPgYWBQ8K/44LOrjgrsy0="; 14 + cargoSha256 = "sha256-0KMs4YeWMj4Wz+iIVQ5XEwswVRs0q5Vibcy5fFNbH04="; 15 15 16 16 # skip test due FHS dependency 17 17 doCheck = false;
+2 -2
pkgs/applications/virtualization/ovmfvartool/default.nix
··· 1 1 { lib, stdenvNoCC, fetchFromGitHub, python3 }: 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 - name = "ovmfvartool"; 4 + pname = "ovmfvartool"; 5 5 version = "unstable-2021-06-16"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hlandau"; 9 - repo = name; 9 + repo = pname; 10 10 rev = "c4c0c24dce1d201f95dfd69fd7fd9d51ea301377"; 11 11 hash = "sha256-3OvYAB41apPn1c2YTKBIEITmHSUMQ0oEijY5DhZWWGo="; 12 12 };
+2 -2
pkgs/development/libraries/grpc/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "grpc"; 24 - version = "1.48.0"; # N.B: if you change this, please update: 24 + version = "1.48.1"; # N.B: if you change this, please update: 25 25 # pythonPackages.grpcio-tools 26 26 # pythonPackages.grpcio-status 27 27 ··· 29 29 owner = "grpc"; 30 30 repo = "grpc"; 31 31 rev = "v${version}"; 32 - hash = "sha256-cR+K3po/9XpYWe+sRXGwzvNAPChrWzYu5D4ygBTKKIQ="; 32 + hash = "sha256-It9oFenKoPDCOVxiKCGJc8i18zdDZCceR22HR5Tu1sw="; 33 33 fetchSubmodules = true; 34 34 }; 35 35
+5 -1
pkgs/development/libraries/libmusicbrainz/default.nix
··· 12 12 sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z"; 13 13 }; 14 14 15 + patches = [ 16 + # Fix spacing around string literal for modern clang 17 + ./v3-darwin.patch 18 + ]; 19 + 15 20 meta = with lib; { 16 - broken = stdenv.isDarwin; 17 21 homepage = "http://musicbrainz.org/doc/libmusicbrainz"; 18 22 description = "MusicBrainz Client Library (3.x version)"; 19 23 longDescription = ''
+22
pkgs/development/libraries/libmusicbrainz/v3-darwin.patch
··· 1 + diff --git a/src/webservice.cpp b/src/webservice.cpp 2 + index 3a36167..df14812 100644 3 + --- a/src/webservice.cpp 4 + +++ b/src/webservice.cpp 5 + @@ -184,7 +184,7 @@ WebService::get(const std::string &entity, 6 + if (!sess) 7 + throw WebServiceError("ne_session_create() failed."); 8 + ne_set_server_auth(sess, httpAuth, this); 9 + - ne_set_useragent(sess, PACKAGE"/"VERSION); 10 + + ne_set_useragent(sess, PACKAGE "/" VERSION); 11 + 12 + // Use proxy server 13 + if (!d->proxyHost.empty()) { 14 + @@ -269,7 +269,7 @@ WebService::post(const std::string &entity, 15 + if (!sess) 16 + throw WebServiceError("ne_session_create() failed."); 17 + ne_set_server_auth(sess, httpAuth, this); 18 + - ne_set_useragent(sess, PACKAGE"/"VERSION); 19 + + ne_set_useragent(sess, PACKAGE "/" VERSION); 20 + 21 + // Use proxy server 22 + if (!d->proxyHost.empty()) {
+2 -2
pkgs/development/python-modules/grpcio-status/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "grpcio-status"; 12 - version = "1.48.0"; 12 + version = "1.48.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "afac961fc3713889d3c48c11461aba49842ca62a54dfe8f346442046036e9856"; 19 + sha256 = "655af4d0d6e67586cb2ca24c3db5fe08e4e2972d17f295f6b546fa7bd7eef1f6"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/grpcio-tools/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "grpcio-tools"; 5 - version = "1.48.0"; 5 + version = "1.48.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "dd7f757608e7dfae4ab2e7fc1e8951e6eb9526ebdc7ce90597329bc4c408c9a1"; 9 + sha256 = "1178f2ea531f80cc2027ec64728df6ffc8e98cf1df61652a496eafd612127183"; 10 10 }; 11 11 12 12 outputs = [ "out" "dev" ];
+27
pkgs/development/tools/buf-language-server/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "buf-language-server"; 5 + version = "unstable-2022-08-19"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "bufbuild"; 9 + repo = pname; 10 + rev = "6f08a7eed22c5a178cb55613f454319e09be112c"; 11 + sha256 = "sha256-UHsWrWDOC/f3YS2g533CgUkuUmz4MUQRunClQiY/YPQ="; 12 + }; 13 + 14 + vendorSha256 = "sha256-ORzCOmBx6k1GZj6pYLhqPsdneCc7Tt1yHpI5mw5ruFU="; 15 + 16 + ldflags = [ 17 + "-s" 18 + "-w" 19 + ]; 20 + 21 + meta = with lib; { 22 + description = "Language server for protocol buffers"; 23 + homepage = "https://github.com/bufbuild/buf-language-server"; 24 + license = licenses.asl20; 25 + maintainers = with maintainers; [ svrana ]; 26 + }; 27 + }
+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
+668
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."coverage_output_generator-v2.6.zip" 56 + srcs.build_bazel_rules_nodejs 57 + srcs."android_tools_pkg-0.26.0.tar.gz" 58 + srcs."zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 59 + srcs.bazel_toolchains 60 + srcs.com_github_grpc_grpc 61 + srcs.upb 62 + srcs.com_google_protobuf 63 + srcs.rules_pkg 64 + srcs.rules_cc 65 + srcs.rules_java 66 + srcs.rules_proto 67 + srcs.rules_nodejs 68 + srcs.rules_license 69 + srcs.com_google_absl 70 + srcs.com_googlesource_code_re2 71 + srcs.com_github_cares_cares 72 + ]); 73 + 74 + distDir = runCommand "bazel-deps" {} '' 75 + mkdir -p $out 76 + for i in ${builtins.toString srcDeps}; do cp $i $out/$(stripHash $i); done 77 + ''; 78 + 79 + defaultShellUtils = 80 + # Keep this list conservative. For more exotic tools, prefer to use 81 + # @rules_nixpkgs to pull in tools from the nix repository. Example: 82 + # 83 + # WORKSPACE: 84 + # 85 + # nixpkgs_git_repository( 86 + # name = "nixpkgs", 87 + # revision = "def5124ec8367efdba95a99523dd06d918cb0ae8", 88 + # ) 89 + # 90 + # # This defines an external Bazel workspace. 91 + # nixpkgs_package( 92 + # name = "bison", 93 + # repositories = { "nixpkgs": "@nixpkgs//:default.nix" }, 94 + # ) 95 + # 96 + # some/BUILD.bazel: 97 + # 98 + # genrule( 99 + # ... 100 + # cmd = "$(location @bison//:bin/bison) -other -args", 101 + # tools = [ 102 + # ... 103 + # "@bison//:bin/bison", 104 + # ], 105 + # ) 106 + # 107 + # Some of the scripts explicitly depend on Python 2.7. Otherwise, we 108 + # default to using python3. Therefore, both python27 and python3 are 109 + # runtime dependencies. 110 + [ 111 + bash 112 + coreutils 113 + file 114 + findutils 115 + gawk 116 + gnugrep 117 + gnused 118 + gnutar 119 + gzip 120 + python27 121 + python3 122 + unzip 123 + which 124 + zip 125 + ]; 126 + 127 + defaultShellPath = lib.makeBinPath defaultShellUtils; 128 + 129 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 130 + 131 + system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 132 + 133 + # on aarch64 Darwin, `uname -m` returns "arm64" 134 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 135 + 136 + bazelRC = writeTextFile { 137 + name = "bazel-rc"; 138 + text = '' 139 + startup --server_javabase=${runJdk} 140 + 141 + # Can't use 'common'; https://github.com/bazelbuild/bazel/issues/3054 142 + # Most commands inherit from 'build' anyway. 143 + build --distdir=${distDir} 144 + fetch --distdir=${distDir} 145 + query --distdir=${distDir} 146 + 147 + build --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition 148 + build --tool_java_runtime_version=local_jdk_11 149 + build --java_runtime_version=local_jdk_11 150 + 151 + # load default location for the system wide configuration 152 + try-import /etc/bazel.bazelrc 153 + ''; 154 + }; 155 + 156 + in 157 + stdenv.mkDerivation rec { 158 + pname = "bazel"; 159 + inherit version; 160 + 161 + meta = with lib; { 162 + homepage = "https://github.com/bazelbuild/bazel/"; 163 + description = "Build tool that builds code quickly and reliably"; 164 + sourceProvenance = with sourceTypes; [ 165 + fromSource 166 + binaryBytecode # source bundles dependencies as jars 167 + ]; 168 + license = licenses.asl20; 169 + maintainers = lib.teams.bazel.members; 170 + inherit platforms; 171 + }; 172 + 173 + inherit src; 174 + inherit sourceRoot; 175 + patches = [ 176 + # Force usage of the _non_ prebuilt java toolchain. 177 + # the prebuilt one does not work in nix world. 178 + ./java_toolchain.patch 179 + 180 + # On Darwin, the last argument to gcc is coming up as an empty string. i.e: '' 181 + # This is breaking the build of any C target. This patch removes the last 182 + # argument if it's found to be an empty string. 183 + ../trim-last-argument-to-gcc-if-empty.patch 184 + 185 + # `java_proto_library` ignores `strict_proto_deps` 186 + # https://github.com/bazelbuild/bazel/pull/16146 187 + ./strict_proto_deps.patch 188 + 189 + # On Darwin, using clang 6 to build fails because of a linker error (see #105573), 190 + # but using clang 7 fails because libarclite_macosx.a cannot be found when linking 191 + # the xcode_locator tool. 192 + # This patch removes using the -fobjc-arc compiler option and makes the code 193 + # compile without automatic reference counting. Caveat: this leaks memory, but 194 + # we accept this fact because xcode_locator is only a short-lived process used during the build. 195 + (substituteAll { 196 + src = ./no-arc.patch; 197 + multiBinPatch = if stdenv.hostPlatform.system == "aarch64-darwin" then "arm64" else "x86_64"; 198 + }) 199 + 200 + # --experimental_strict_action_env (which may one day become the default 201 + # see bazelbuild/bazel#2574) hardcodes the default 202 + # action environment to a non hermetic value (e.g. "/usr/local/bin"). 203 + # This is non hermetic on non-nixos systems. On NixOS, bazel cannot find the required binaries. 204 + # So we are replacing this bazel paths by defaultShellPath, 205 + # improving hermeticity and making it work in nixos. 206 + (substituteAll { 207 + src = ../strict_action_env.patch; 208 + strictActionEnvPatch = defaultShellPath; 209 + }) 210 + 211 + (substituteAll { 212 + src = ./actions_path.patch; 213 + actionsPathPatch = defaultShellPath; 214 + }) 215 + 216 + # bazel reads its system bazelrc in /etc 217 + # override this path to a builtin one 218 + (substituteAll { 219 + src = ../bazel_rc.patch; 220 + bazelSystemBazelRCPath = bazelRC; 221 + }) 222 + ] ++ lib.optional enableNixHacks ./nix-hacks.patch; 223 + 224 + 225 + # Additional tests that check bazel’s functionality. Execute 226 + # 227 + # nix-build . -A bazel_5.tests 228 + # 229 + # in the nixpkgs checkout root to exercise them locally. 230 + passthru.tests = 231 + let 232 + runLocal = name: attrs: script: 233 + let 234 + attrs' = removeAttrs attrs [ "buildInputs" ]; 235 + buildInputs = attrs.buildInputs or []; 236 + in 237 + runCommandCC name ({ 238 + inherit buildInputs; 239 + preferLocalBuild = true; 240 + meta.platforms = platforms; 241 + } // attrs') script; 242 + 243 + # bazel wants to extract itself into $install_dir/install every time it runs, 244 + # so let’s do that only once. 245 + extracted = bazelPkg: 246 + let install_dir = 247 + # `install_base` field printed by `bazel info`, minus the hash. 248 + # yes, this path is kinda magic. Sorry. 249 + "$HOME/.cache/bazel/_bazel_nixbld"; 250 + in runLocal "bazel-extracted-homedir" { passthru.install_dir = install_dir; } '' 251 + export HOME=$(mktemp -d) 252 + touch WORKSPACE # yeah, everything sucks 253 + install_base="$(${bazelPkg}/bin/bazel info | grep install_base)" 254 + # assert it’s actually below install_dir 255 + [[ "$install_base" =~ ${install_dir} ]] \ 256 + || (echo "oh no! $install_base but we are \ 257 + trying to copy ${install_dir} to $out instead!"; exit 1) 258 + cp -R ${install_dir} $out 259 + ''; 260 + 261 + bazelTest = { name, bazelScript, workspaceDir, bazelPkg, buildInputs ? [] }: 262 + let 263 + be = extracted bazelPkg; 264 + in runLocal name { inherit buildInputs; } ( 265 + # skip extraction caching on Darwin, because nobody knows how Darwin works 266 + (lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 267 + # set up home with pre-unpacked bazel 268 + export HOME=$(mktemp -d) 269 + mkdir -p ${be.install_dir} 270 + cp -R ${be}/install ${be.install_dir} 271 + 272 + # https://stackoverflow.com/questions/47775668/bazel-how-to-skip-corrupt-installation-on-centos6 273 + # Bazel checks whether the mtime of the install dir files 274 + # is >9 years in the future, otherwise it extracts itself again. 275 + # see PosixFileMTime::IsUntampered in src/main/cpp/util 276 + # What the hell bazel. 277 + ${lr}/bin/lr -0 -U ${be.install_dir} | ${xe}/bin/xe -N0 -0 touch --date="9 years 6 months" {} 278 + '') 279 + + 280 + '' 281 + # Note https://github.com/bazelbuild/bazel/issues/5763#issuecomment-456374609 282 + # about why to create a subdir for the workspace. 283 + cp -r ${workspaceDir} wd && chmod u+w wd && cd wd 284 + 285 + ${bazelScript} 286 + 287 + touch $out 288 + ''); 289 + 290 + bazelWithNixHacks = bazel_self.override { enableNixHacks = true; }; 291 + 292 + bazel-examples = fetchFromGitHub { 293 + owner = "bazelbuild"; 294 + repo = "examples"; 295 + rev = "4183fc709c26a00366665e2d60d70521dc0b405d"; 296 + sha256 = "1mm4awx6sa0myiz9j4hwp71rpr7yh8vihf3zm15n2ii6xb82r31k"; 297 + }; 298 + 299 + in (if !stdenv.hostPlatform.isDarwin then { 300 + # `extracted` doesn’t work on darwin 301 + shebang = callPackage ../shebang-test.nix { inherit runLocal extracted bazelTest distDir; bazel = bazel_self;}; 302 + } else {}) // { 303 + bashTools = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 304 + cpp = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 305 + java = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 306 + protobuf = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self; }; 307 + pythonBinPath = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 308 + 309 + bashToolsWithNixHacks = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 310 + 311 + cppWithNixHacks = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 312 + javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 313 + protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 314 + pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 315 + 316 + # downstream packages using buildBazelPackage 317 + # fixed-output hashes of the fetch phase need to be spot-checked manually 318 + downstream = recurseIntoAttrs ({ 319 + inherit bazel-watcher; 320 + }); 321 + }; 322 + 323 + src_for_updater = stdenv.mkDerivation rec { 324 + name = "updater-sources"; 325 + inherit src; 326 + nativeBuildInputs = [ unzip ]; 327 + inherit sourceRoot; 328 + installPhase = '' 329 + runHook preInstall 330 + 331 + cp -r . "$out" 332 + 333 + runHook postInstall 334 + ''; 335 + }; 336 + # update the list of workspace dependencies 337 + passthru.updater = writeScript "update-bazel-deps.sh" '' 338 + #!${runtimeShell} 339 + (cd "${src_for_updater}" && 340 + BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ 341 + "${bazel_4}"/bin/bazel \ 342 + query 'kind(http_archive, //external:all) + kind(http_file, //external:all) + kind(distdir_tar, //external:all) + kind(git_repository, //external:all)' \ 343 + --loading_phase_threads=1 \ 344 + --output build) \ 345 + | "${python3}"/bin/python3 "${./update-srcDeps.py}" \ 346 + "${builtins.toString ./src-deps.json}" 347 + ''; 348 + 349 + # Necessary for the tests to pass on Darwin with sandbox enabled. 350 + # Bazel starts a local server and needs to bind a local address. 351 + __darwinAllowLocalNetworking = true; 352 + 353 + postPatch = let 354 + 355 + darwinPatches = '' 356 + bazelLinkFlags () { 357 + eval set -- "$NIX_LDFLAGS" 358 + local flag 359 + for flag in "$@"; do 360 + printf ' -Wl,%s' "$flag" 361 + done 362 + } 363 + 364 + # Disable Bazel's Xcode toolchain detection which would configure compilers 365 + # and linkers from Xcode instead of from PATH 366 + export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 367 + 368 + # Explicitly configure gcov since we don't have it on Darwin, so autodetection fails 369 + export GCOV=${coreutils}/bin/false 370 + 371 + # Framework search paths aren't added by bintools hook 372 + # https://github.com/NixOS/nixpkgs/pull/41914 373 + export NIX_LDFLAGS+=" -F${CoreFoundation}/Library/Frameworks -F${CoreServices}/Library/Frameworks -F${Foundation}/Library/Frameworks" 374 + 375 + # libcxx includes aren't added by libcxx hook 376 + # https://github.com/NixOS/nixpkgs/pull/41589 377 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" 378 + 379 + # don't use system installed Xcode to run clang, use Nix clang instead 380 + sed -i -E "s;/usr/bin/xcrun (--sdk macosx )?clang;${stdenv.cc}/bin/clang $NIX_CFLAGS_COMPILE $(bazelLinkFlags) -framework CoreFoundation;g" \ 381 + scripts/bootstrap/compile.sh \ 382 + tools/osx/BUILD 383 + 384 + substituteInPlace scripts/bootstrap/compile.sh --replace ' -mmacosx-version-min=10.9' "" 385 + 386 + # nixpkgs's libSystem cannot use pthread headers directly, must import GCD headers instead 387 + sed -i -e "/#include <pthread\/spawn.h>/i #include <dispatch/dispatch.h>" src/main/cpp/blaze_util_darwin.cc 388 + 389 + # clang installed from Xcode has a compatibility wrapper that forwards 390 + # invocations of gcc to clang, but vanilla clang doesn't 391 + 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 392 + 393 + sed -i -e 's;"/usr/bin/libtool";_find_generic(repository_ctx, "libtool", "LIBTOOL", overriden_tools);g' tools/cpp/unix_cc_configure.bzl 394 + wrappers=( tools/cpp/osx_cc_wrapper.sh tools/cpp/osx_cc_wrapper.sh.tpl ) 395 + for wrapper in "''${wrappers[@]}"; do 396 + sed -i -e "s,/usr/bin/gcc,${stdenv.cc}/bin/clang,g" $wrapper 397 + sed -i -e "s,/usr/bin/install_name_tool,${cctools}/bin/install_name_tool,g" $wrapper 398 + done 399 + ''; 400 + 401 + genericPatches = '' 402 + # md5sum is part of coreutils 403 + sed -i 's|/sbin/md5|md5sum|g' \ 404 + src/BUILD third_party/ijar/test/testenv.sh tools/objc/libtool.sh 405 + 406 + # replace initial value of pythonShebang variable in BazelPythonSemantics.java 407 + substituteInPlace src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java \ 408 + --replace '"#!/usr/bin/env " + pythonExecutableName' "\"#!${python3}/bin/python\"" 409 + 410 + substituteInPlace src/main/java/com/google/devtools/build/lib/starlarkbuildapi/python/PyRuntimeInfoApi.java \ 411 + --replace '"#!/usr/bin/env python3"' "\"#!${python3}/bin/python\"" 412 + 413 + # substituteInPlace is rather slow, so prefilter the files with grep 414 + grep -rlZ /bin/ src/main/java/com/google/devtools | while IFS="" read -r -d "" path; do 415 + # If you add more replacements here, you must change the grep above! 416 + # Only files containing /bin are taken into account. 417 + # We default to python3 where possible. See also `postFixup` where 418 + # python3 is added to $out/nix-support 419 + substituteInPlace "$path" \ 420 + --replace /bin/bash ${bash}/bin/bash \ 421 + --replace "/usr/bin/env bash" ${bash}/bin/bash \ 422 + --replace "/usr/bin/env python" ${python3}/bin/python \ 423 + --replace /usr/bin/env ${coreutils}/bin/env \ 424 + --replace /bin/true ${coreutils}/bin/true 425 + done 426 + 427 + grep -rlZ /bin/ tools/python | while IFS="" read -r -d "" path; do 428 + substituteInPlace "$path" \ 429 + --replace "/usr/bin/env python2" ${python27}/bin/python \ 430 + --replace "/usr/bin/env python3" ${python3}/bin/python \ 431 + --replace /usr/bin/env ${coreutils}/bin/env 432 + done 433 + 434 + # bazel test runner include references to /bin/bash 435 + substituteInPlace tools/build_rules/test_rules.bzl \ 436 + --replace /bin/bash ${bash}/bin/bash 437 + 438 + for i in $(find tools/cpp/ -type f) 439 + do 440 + substituteInPlace $i \ 441 + --replace /bin/bash ${bash}/bin/bash 442 + done 443 + 444 + # Fixup scripts that generate scripts. Not fixed up by patchShebangs below. 445 + substituteInPlace scripts/bootstrap/compile.sh \ 446 + --replace /bin/bash ${bash}/bin/bash 447 + 448 + # add nix environment vars to .bazelrc 449 + cat >> .bazelrc <<EOF 450 + # Limit the resources Bazel is allowed to use during the build to 1/2 the 451 + # available RAM and 3/4 the available CPU cores. This should help avoid 452 + # overwhelming the build machine. 453 + build --toolchain_resolution_debug=".*" 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 + build --experimental_strict_java_deps=off 470 + build --strict_proto_deps=off 471 + EOF 472 + 473 + cat >> third_party/grpc/bazel_1.41.0.patch <<EOF 474 + diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD 475 + index 39ee9f97c6..9128d20c85 100644 476 + --- a/third_party/grpc/BUILD 477 + +++ b/third_party/grpc/BUILD 478 + @@ -28,7 +28,6 @@ licenses(["notice"]) 479 + package( 480 + default_visibility = ["//visibility:public"], 481 + features = [ 482 + - "layering_check", 483 + "-parse_headers", 484 + ], 485 + ) 486 + EOF 487 + 488 + # add the same environment vars to compile.sh 489 + sed -e "/\$command \\\\$/a --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\" \\\\" \ 490 + -e "/\$command \\\\$/a --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\" \\\\" \ 491 + -e "/\$command \\\\$/a --linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt=\"/g')\" \\\\" \ 492 + -e "/\$command \\\\$/a --host_linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt=\"/g')\" \\\\" \ 493 + -e "/\$command \\\\$/a --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\" \\\\" \ 494 + -e "/\$command \\\\$/a --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\" \\\\" \ 495 + -e "/\$command \\\\$/a --tool_java_runtime_version=local_jdk_11 \\\\" \ 496 + -e "/\$command \\\\$/a --java_runtime_version=local_jdk_11 \\\\" \ 497 + -e "/\$command \\\\$/a --verbose_failures \\\\" \ 498 + -e "/\$command \\\\$/a --curses=no \\\\" \ 499 + -e "/\$command \\\\$/a --features=-layering_check \\\\" \ 500 + -e "/\$command \\\\$/a --experimental_strict_java_deps=off \\\\" \ 501 + -e "/\$command \\\\$/a --strict_proto_deps=off \\\\" \ 502 + -i scripts/bootstrap/compile.sh 503 + 504 + # This is necessary to avoid: 505 + # "error: no visible @interface for 'NSDictionary' declares the selector 506 + # 'initWithContentsOfURL:error:'" 507 + # This can be removed when the apple_sdk is upgraded beyond 10.13+ 508 + sed -i '/initWithContentsOfURL:versionPlistUrl/ { 509 + N 510 + s/error:nil\];/\];/ 511 + }' tools/osx/xcode_locator.m 512 + 513 + # append the PATH with defaultShellPath in tools/bash/runfiles/runfiles.bash 514 + echo "PATH=\$PATH:${defaultShellPath}" >> runfiles.bash.tmp 515 + cat tools/bash/runfiles/runfiles.bash >> runfiles.bash.tmp 516 + mv runfiles.bash.tmp tools/bash/runfiles/runfiles.bash 517 + 518 + patchShebangs . 519 + ''; 520 + in lib.optionalString stdenv.hostPlatform.isDarwin darwinPatches 521 + + genericPatches; 522 + 523 + buildInputs = [buildJdk] ++ defaultShellUtils; 524 + 525 + # when a command can’t be found in a bazel build, you might also 526 + # need to add it to `defaultShellPath`. 527 + nativeBuildInputs = [ 528 + installShellFiles 529 + makeWrapper 530 + python3 531 + unzip 532 + which 533 + zip 534 + python3.pkgs.absl-py # Needed to build fish completion 535 + ] ++ lib.optionals (stdenv.isDarwin) [ cctools libcxx CoreFoundation CoreServices Foundation ]; 536 + 537 + # Bazel makes extensive use of symlinks in the WORKSPACE. 538 + # This causes problems with infinite symlinks if the build output is in the same location as the 539 + # Bazel WORKSPACE. This is why before executing the build, the source code is moved into a 540 + # subdirectory. 541 + # Failing to do this causes "infinite symlink expansion detected" 542 + preBuildPhases = ["preBuildPhase"]; 543 + preBuildPhase = '' 544 + mkdir bazel_src 545 + shopt -s dotglob extglob 546 + mv !(bazel_src) bazel_src 547 + ''; 548 + buildPhase = '' 549 + runHook preBuild 550 + 551 + # Increasing memory during compilation might be necessary. 552 + # export BAZEL_JAVAC_OPTS="-J-Xmx2g -J-Xms200m" 553 + 554 + # If EMBED_LABEL isn't set, it'd be auto-detected from CHANGELOG.md 555 + # and `git rev-parse --short HEAD` which would result in 556 + # "3.7.0- (@non-git)" due to non-git build and incomplete changelog. 557 + # Actual bazel releases use scripts/release/common.sh which is based 558 + # on branch/tag information which we don't have with tarball releases. 559 + # Note that .bazelversion is always correct and is based on bazel-* 560 + # executable name, version checks should work fine 561 + export EMBED_LABEL="${version}- (@non-git)" 562 + ${bash}/bin/bash ./bazel_src/compile.sh 563 + ./bazel_src/scripts/generate_bash_completion.sh \ 564 + --bazel=./bazel_src/output/bazel \ 565 + --output=./bazel_src/output/bazel-complete.bash \ 566 + --prepend=./bazel_src/scripts/bazel-complete-header.bash \ 567 + --prepend=./bazel_src/scripts/bazel-complete-template.bash 568 + ${python3}/bin/python3 ./bazel_src/scripts/generate_fish_completion.py \ 569 + --bazel=./bazel_src/output/bazel \ 570 + --output=./bazel_src/output/bazel-complete.fish 571 + 572 + # need to change directory for bazel to find the workspace 573 + cd ./bazel_src 574 + # build execlog tooling 575 + export HOME=$(mktemp -d) 576 + ./output/bazel build src/tools/execlog:parser_deploy.jar 577 + cd - 578 + 579 + runHook postBuild 580 + ''; 581 + 582 + installPhase = '' 583 + runHook preInstall 584 + 585 + mkdir -p $out/bin 586 + 587 + # official wrapper scripts that searches for $WORKSPACE_ROOT/tools/bazel 588 + # if it can’t find something in tools, it calls $out/bin/bazel-{version}-{os_arch} 589 + # The binary _must_ exist with this naming if your project contains a .bazelversion 590 + # file. 591 + cp ./bazel_src/scripts/packages/bazel.sh $out/bin/bazel 592 + wrapProgram $out/bin/bazel $wrapperfile --suffix PATH : ${defaultShellPath} 593 + mv ./bazel_src/output/bazel $out/bin/bazel-${version}-${system}-${arch} 594 + 595 + mkdir $out/share 596 + cp ./bazel_src/bazel-bin/src/tools/execlog/parser_deploy.jar $out/share/parser_deploy.jar 597 + cat <<EOF > $out/bin/bazel-execlog 598 + #!${runtimeShell} -e 599 + ${runJdk}/bin/java -jar $out/share/parser_deploy.jar \$@ 600 + EOF 601 + chmod +x $out/bin/bazel-execlog 602 + 603 + # shell completion files 604 + installShellCompletion --bash \ 605 + --name bazel.bash \ 606 + ./bazel_src/output/bazel-complete.bash 607 + installShellCompletion --zsh \ 608 + --name _bazel \ 609 + ./bazel_src/scripts/zsh_completion/_bazel 610 + installShellCompletion --fish \ 611 + --name bazel.fish \ 612 + ./bazel_src/output/bazel-complete.fish 613 + ''; 614 + 615 + # Install check fails on `aarch64-darwin` 616 + # https://github.com/NixOS/nixpkgs/issues/145587 617 + doInstallCheck = stdenv.hostPlatform.system != "aarch64-darwin"; 618 + installCheckPhase = '' 619 + export TEST_TMPDIR=$(pwd) 620 + 621 + hello_test () { 622 + $out/bin/bazel test \ 623 + --test_output=errors \ 624 + examples/cpp:hello-success_test \ 625 + examples/java-native/src/test/java/com/example/myproject:hello 626 + } 627 + 628 + cd ./bazel_src 629 + 630 + # test whether $WORKSPACE_ROOT/tools/bazel works 631 + 632 + mkdir -p tools 633 + cat > tools/bazel <<"EOF" 634 + #!${runtimeShell} -e 635 + exit 1 636 + EOF 637 + chmod +x tools/bazel 638 + 639 + # first call should fail if tools/bazel is used 640 + ! hello_test 641 + 642 + cat > tools/bazel <<"EOF" 643 + #!${runtimeShell} -e 644 + exec "$BAZEL_REAL" "$@" 645 + EOF 646 + 647 + # second call succeeds because it defers to $out/bin/bazel-{version}-{os_arch} 648 + hello_test 649 + 650 + runHook postInstall 651 + ''; 652 + 653 + # Save paths to hardcoded dependencies so Nix can detect them. 654 + # This is needed because the templates get tar’d up into a .jar. 655 + postFixup = '' 656 + mkdir -p $out/nix-support 657 + echo "${defaultShellPath}" >> $out/nix-support/depends 658 + # The string literal specifying the path to the bazel-rc file is sometimes 659 + # stored non-contiguously in the binary due to gcc optimisations, which leads 660 + # Nix to miss the hash when scanning for dependencies 661 + echo "${bazelRC}" >> $out/nix-support/depends 662 + '' + lib.optionalString stdenv.isDarwin '' 663 + echo "${cctools}" >> $out/nix-support/depends 664 + ''; 665 + 666 + dontStrip = true; 667 + dontPatchELF = true; 668 + }
+33
pkgs/development/tools/build-managers/bazel/bazel_6/java_toolchain.patch
··· 1 + diff --git a/tools/jdk/BUILD.tools b/tools/jdk/BUILD.tools 2 + --- a/tools/jdk/BUILD.tools 3 + +++ b/tools/jdk/BUILD.tools 4 + @@ -3,6 +3,7 @@ load( 5 + "DEFAULT_TOOLCHAIN_CONFIGURATION", 6 + "PREBUILT_TOOLCHAIN_CONFIGURATION", 7 + "VANILLA_TOOLCHAIN_CONFIGURATION", 8 + + "NONPREBUILT_TOOLCHAIN_CONFIGURATION", 9 + "bootclasspath", 10 + "default_java_toolchain", 11 + "java_runtime_files", 12 + @@ -321,6 +322,21 @@ alias( 13 + actual = ":toolchain", 14 + ) 15 + 16 + +default_java_toolchain( 17 + + name = "nonprebuilt_toolchain", 18 + + configuration = NONPREBUILT_TOOLCHAIN_CONFIGURATION, 19 + + java_runtime = "@local_jdk//:jdk", 20 + +) 21 + + 22 + +default_java_toolchain( 23 + + name = "nonprebuilt_toolchain_java11", 24 + + configuration = NONPREBUILT_TOOLCHAIN_CONFIGURATION, 25 + + java_runtime = "@local_jdk//:jdk", 26 + + source_version = "11", 27 + + target_version = "11", 28 + +) 29 + + 30 + + 31 + RELEASES = (8, 9, 10, 11) 32 + 33 + [
+40
pkgs/development/tools/build-managers/bazel/bazel_6/nix-hacks.patch
··· 1 + diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 2 + index 25fbdcac9d..49616d37df 100644 3 + --- a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 4 + +++ b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 5 + @@ -568,22 +568,7 @@ public final class RepositoryDelegatorFunction implements SkyFunction { 6 + String content; 7 + try { 8 + content = FileSystemUtils.readContent(markerPath, StandardCharsets.UTF_8); 9 + - String markerRuleKey = readMarkerFile(content, markerData); 10 + - boolean verified = false; 11 + - if (Preconditions.checkNotNull(ruleKey).equals(markerRuleKey)) { 12 + - verified = handler.verifyMarkerData(rule, markerData, env); 13 + - if (env.valuesMissing()) { 14 + - return null; 15 + - } 16 + - } 17 + - 18 + - if (verified) { 19 + - return new Fingerprint().addString(content).digestAndReset(); 20 + - } else { 21 + - // So that we are in a consistent state if something happens while fetching the repository 22 + - markerPath.delete(); 23 + - return null; 24 + - } 25 + + return new Fingerprint().addString(content).digestAndReset(); 26 + } catch (IOException e) { 27 + throw new RepositoryFunctionException(e, Transience.TRANSIENT); 28 + } 29 + diff --git a/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java b/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 30 + index 1a45b8a3a2..a6b73213f6 100644 31 + --- a/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 32 + +++ b/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 33 + @@ -152,7 +152,6 @@ public class JavaSubprocessFactory implements SubprocessFactory { 34 + ProcessBuilder builder = new ProcessBuilder(); 35 + builder.command(params.getArgv()); 36 + if (params.getEnv() != null) { 37 + - builder.environment().clear(); 38 + builder.environment().putAll(params.getEnv()); 39 + } 40 +
+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 + }
+21
pkgs/development/tools/build-managers/bazel/bazel_6/strict_proto_deps.patch
··· 1 + diff --git a/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl b/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 2 + index 63f68167e4..f106e64c9b 100644 3 + --- a/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 4 + +++ b/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 5 + @@ -114,6 +114,7 @@ def java_compile_for_protos(ctx, output_jar_suffix, source_jar = None, deps = [] 6 + exports = exports, 7 + output = output_jar, 8 + output_source_jar = source_jar, 9 + + strict_deps = ctx.fragments.proto.strict_proto_deps(), 10 + injecting_rule_kind = injecting_rule_kind, 11 + javac_opts = java_toolchain.compatible_javacopts("proto"), 12 + enable_jspecify = False, 13 + @@ -140,7 +141,7 @@ bazel_java_proto_aspect = aspect( 14 + attr_aspects = ["deps", "exports"], 15 + required_providers = [ProtoInfo], 16 + provides = [JavaInfo, JavaProtoAspectInfo], 17 + - fragments = ["java"], 18 + + fragments = ["java", "proto"], 19 + ) 20 + 21 + def bazel_java_proto_library_rule(ctx):
+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)
+11 -6
pkgs/development/tools/build-managers/bazel/cpp-test.nix
··· 2 2 bazel 3 3 , bazelTest 4 4 , bazel-examples 5 - , gccStdenv 5 + , stdenv 6 + , darwin 6 7 , lib 7 8 , runLocal 8 9 , runtimeShell ··· 16 17 toolsBazel = writeScript "bazel" '' 17 18 #! ${runtimeShell} 18 19 19 - export CXX='${gccStdenv.cc}/bin/g++' 20 - export LD='${gccStdenv.cc}/bin/ld' 21 - export CC='${gccStdenv.cc}/bin/gcc' 20 + export CXX='${stdenv.cc}/bin/clang++' 21 + export LD='${darwin.cctools}/bin/ld' 22 + export LIBTOOL='${darwin.cctools}/bin/libtool' 23 + export CC='${stdenv.cc}/bin/clang' 22 24 23 25 # XXX: hack for macosX, this flags disable bazel usage of xcode 24 26 # See: https://github.com/bazelbuild/bazel/issues/4231 ··· 31 33 cp -r ${bazel-examples}/cpp-tutorial/stage3 $out 32 34 find $out -type d -exec chmod 755 {} \; 33 35 '' 34 - + (lib.optionalString gccStdenv.isDarwin '' 36 + + (lib.optionalString stdenv.isDarwin '' 35 37 mkdir $out/tools 36 38 cp ${toolsBazel} $out/tools/bazel 37 39 '')); ··· 46 48 --distdir=${distDir} \ 47 49 --curses=no \ 48 50 --sandbox_debug \ 49 - //... 51 + //... \ 52 + '' + lib.optionalString (stdenv.isDarwin) '' 53 + --cxxopt=-x --cxxopt=c++ --host_cxxopt=-x --host_cxxopt=c++ \ 54 + --linkopt=-stdlib=libc++ --host_linkopt=-stdlib=libc++ \ 50 55 ''; 51 56 }; 52 57
+15 -12
pkgs/development/tools/build-managers/bazel/java-test.nix
··· 2 2 bazel 3 3 , bazelTest 4 4 , bazel-examples 5 - , gccStdenv 5 + , stdenv 6 + , darwin 6 7 , lib 7 8 , openjdk8 8 9 , jdk11_headless ··· 18 19 toolsBazel = writeScript "bazel" '' 19 20 #! ${runtimeShell} 20 21 21 - export CXX='${gccStdenv.cc}/bin/g++' 22 - export LD='${gccStdenv.cc}/bin/ld' 23 - export CC='${gccStdenv.cc}/bin/gcc' 22 + export CXX='${stdenv.cc}/bin/clang++' 23 + export LD='${darwin.cctools}/bin/ld' 24 + export LIBTOOL='${darwin.cctools}/bin/libtool' 25 + export CC='${stdenv.cc}/bin/clang' 24 26 25 27 # XXX: hack for macosX, this flags disable bazel usage of xcode 26 28 # See: https://github.com/bazelbuild/bazel/issues/4231 ··· 33 35 cp -r ${bazel-examples}/java-tutorial $out 34 36 find $out -type d -exec chmod 755 {} \; 35 37 '' 36 - + (lib.optionalString gccStdenv.isDarwin '' 38 + + (lib.optionalString stdenv.isDarwin '' 37 39 mkdir $out/tools 38 40 cp ${toolsBazel} $out/tools/bazel 39 41 '')); ··· 47 49 ${bazel}/bin/bazel \ 48 50 run \ 49 51 --distdir=${distDir} \ 50 - --verbose_failures \ 51 - --curses=no \ 52 - --sandbox_debug \ 53 - //:ProjectRunner \ 52 + --verbose_failures \ 53 + --curses=no \ 54 + --sandbox_debug \ 55 + --strict_java_deps=off \ 56 + //:ProjectRunner \ 54 57 '' + lib.optionalString (lib.strings.versionOlder bazel.version "5.0.0") '' 55 - --host_javabase='@local_jdk//:jdk' \ 56 - --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \ 57 - --javabase='@local_jdk//:jdk' \ 58 + --host_javabase='@local_jdk//:jdk' \ 59 + --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \ 60 + --javabase='@local_jdk//:jdk' \ 58 61 ''; 59 62 }; 60 63
+19 -12
pkgs/development/tools/build-managers/bazel/protobuf-test.nix
··· 3 3 , bazelTest 4 4 , fetchFromGitHub 5 5 , fetchurl 6 - , gccStdenv 6 + , stdenv 7 + , darwin 7 8 , lib 8 9 , openjdk8 9 10 , jdk11_headless ··· 132 133 toolsBazel = writeScript "bazel" '' 133 134 #! ${runtimeShell} 134 135 135 - export CXX='${gccStdenv.cc}/bin/g++' 136 - export LD='${gccStdenv.cc}/bin/ld' 137 - export CC='${gccStdenv.cc}/bin/gcc' 136 + export CXX='${stdenv.cc}/bin/clang++' 137 + export LD='${darwin.cctools}/bin/ld' 138 + export LIBTOOL='${darwin.cctools}/bin/libtool' 139 + export CC='${stdenv.cc}/bin/clang' 138 140 139 141 # XXX: hack for macosX, this flags disable bazel usage of xcode 140 142 # See: https://github.com/bazelbuild/bazel/issues/4231 ··· 152 154 cp ${personProto} $out/person/person.proto 153 155 cp ${personBUILD} $out/person/BUILD.bazel 154 156 '' 155 - + (lib.optionalString gccStdenv.isDarwin '' 157 + + (lib.optionalString stdenv.isDarwin '' 156 158 mkdir $out/tools 157 159 cp ${toolsBazel} $out/tools/bazel 158 160 '')); ··· 166 168 ${bazel}/bin/bazel \ 167 169 build \ 168 170 --distdir=${distDir} \ 169 - --verbose_failures \ 170 - --curses=no \ 171 - --sandbox_debug \ 172 - //... \ 171 + --verbose_failures \ 172 + --curses=no \ 173 + --sandbox_debug \ 174 + --strict_java_deps=off \ 175 + --strict_proto_deps=off \ 176 + //... \ 173 177 '' + lib.optionalString (lib.strings.versionOlder bazel.version "5.0.0") '' 174 - --host_javabase='@local_jdk//:jdk' \ 175 - --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \ 176 - --javabase='@local_jdk//:jdk' \ 178 + --host_javabase='@local_jdk//:jdk' \ 179 + --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \ 180 + --javabase='@local_jdk//:jdk' \ 181 + '' + lib.optionalString (stdenv.isDarwin) '' 182 + --cxxopt=-x --cxxopt=c++ --host_cxxopt=-x --host_cxxopt=c++ \ 183 + --linkopt=-stdlib=libc++ --host_linkopt=-stdlib=libc++ \ 177 184 ''; 178 185 }; 179 186
+35 -5
pkgs/development/tools/build-managers/bazel/python-bin-path-test.nix
··· 1 - { writeText, bazel, bazelTest, runLocal, distDir }: 1 + { 2 + bazel 3 + , bazelTest 4 + , stdenv 5 + , darwin 6 + , lib 7 + , runLocal 8 + , runtimeShell 9 + , writeScript 10 + , writeText 11 + , distDir 12 + }: 2 13 3 14 let 15 + toolsBazel = writeScript "bazel" '' 16 + #! ${runtimeShell} 17 + 18 + export CXX='${stdenv.cc}/bin/clang++' 19 + export LD='${darwin.cctools}/bin/ld' 20 + export LIBTOOL='${darwin.cctools}/bin/libtool' 21 + export CC='${stdenv.cc}/bin/clang' 22 + 23 + # XXX: hack for macosX, this flags disable bazel usage of xcode 24 + # See: https://github.com/bazelbuild/bazel/issues/4231 25 + export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 26 + 27 + exec "$BAZEL_REAL" "$@" 28 + ''; 29 + 4 30 WORKSPACE = writeText "WORKSPACE" '' 5 31 workspace(name = "our_workspace") 6 32 ''; ··· 29 55 ) 30 56 ''; 31 57 32 - workspaceDir = runLocal "our_workspace" {} '' 58 + workspaceDir = runLocal "our_workspace" {} ('' 33 59 mkdir $out 34 60 cp ${WORKSPACE} $out/WORKSPACE 35 61 mkdir $out/python 36 62 cp ${pythonLib} $out/python/lib.py 37 63 cp ${pythonBin} $out/python/bin.py 38 64 cp ${pythonBUILD} $out/python/BUILD.bazel 39 - ''; 65 + '' 66 + + (lib.optionalString stdenv.isDarwin '' 67 + mkdir $out/tools 68 + cp ${toolsBazel} $out/tools/bazel 69 + '')); 40 70 41 71 testBazel = bazelTest { 42 72 name = "bazel-test-builtin-rules"; ··· 45 75 bazelScript = '' 46 76 ${bazel}/bin/bazel \ 47 77 run \ 48 - --distdir=${distDir} \ 49 - //python:bin 78 + --distdir=${distDir} \ 79 + //python:bin 50 80 ''; 51 81 }; 52 82
+2 -2
pkgs/development/tools/hclfmt/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "hclfmt"; 5 - version = "2.13.0"; 5 + version = "2.14.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hashicorp"; 9 9 repo = "hcl"; 10 10 rev = "v${version}"; 11 - hash = "sha256-ENvXFOdsv3PL4jH7OfI3ZIY6ekj7ywgNOYl1uRQjypM="; 11 + hash = "sha256-Rx073Ob7CqaPEGIskJHW/xmt4S+WE/AWKewXpjY3kQ4="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-9IGHILgByNFviQcHJCFoEX9cZif1uuHCu4xvmGZYoXk=";
+2 -2
pkgs/servers/pocketbase/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "pocketbase"; 8 - version = "0.5.1"; 8 + version = "0.5.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "pocketbase"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-Wcj2pAKuRT3gWzczoNd0mJktM2dUL3z+2JUsM5SYRVM="; 14 + sha256 = "sha256-ykjk2OJ1AFG4S8vQi5yb7JzQRh3hSbFm/6XqzqXNmt8="; 15 15 }; 16 16 17 17 vendorSha256 = "sha256-OGbfcKvPTSM9DGJ+u2fXBmHq0Sv/n8oMbHNoPZy854Q=";
+2 -2
pkgs/tools/graphics/agi/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "agi"; 17 - version = "3.1.0-dev-20220811"; 17 + version = "3.2.0-dev-20220831"; 18 18 19 19 src = fetchzip { 20 20 url = "https://github.com/google/agi-dev-releases/releases/download/v${version}/agi-${version}-linux.zip"; 21 - sha256 = "sha256-7lxcyIX3imqsU15HQ2Xc0S8ki6LWMlkM4fdTOCuCti8="; 21 + sha256 = "sha256-pAPYIhNqr7TpVDnHhRVGkd6HCqu945OCXa5dpGi2UhU="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+3 -3
pkgs/tools/misc/chezmoi/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "chezmoi"; 5 - version = "2.21.1"; 5 + version = "2.22.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "twpayne"; 9 9 repo = "chezmoi"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-WBshiEohUO58LSRpbwunXfSRvnYtnB8g+1zUZTZtUOg="; 11 + sha256 = "sha256-igZURbPa4ldhkjae6olAbW9L8qddxZj6wwkIJ3L23aA="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-KcUe3Wbco+s4Zt3TS6C60AYiCuTAW5qdz+x68UBPALY="; 14 + vendorSha256 = "sha256-riGN7d+am9DXCcFVkc2WIxmHvsNaZxHm/aEDcb8kCz4="; 15 15 16 16 doCheck = false; 17 17
+6 -4
pkgs/tools/misc/dust/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform }: 1 + { stdenv, lib, fetchFromGitHub, rustPlatform, AppKit }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "du-dust"; 5 - version = "0.8.2"; 5 + version = "0.8.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bootandy"; 9 9 repo = "dust"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ZPIxJ8D8yxaL7RKIVKIIlqwUXBbVM0JprE5TSTGkhfI="; 11 + sha256 = "sha256-+YcHiW4kR4JeIY6zv1WJ97dCIakvtbn8+b9tLFH+aLE="; 12 12 # Remove unicode file names which leads to different checksums on HFS+ 13 13 # vs. other filesystems because of unicode normalisation. 14 14 postFetch = '' ··· 16 16 ''; 17 17 }; 18 18 19 - cargoSha256 = "sha256-dgAyxSVNe+UKuT0UJqPvYcrLolKtC2+EN/okSvzkhcA="; 19 + cargoSha256 = "sha256-yKj9CBoEC6UJf4L+XO2qi69//45lSqblMe8ofnLctEw="; 20 + 21 + buildInputs = lib.optionals stdenv.isDarwin [ AppKit ]; 20 22 21 23 doCheck = false; 22 24
+3 -3
pkgs/tools/misc/zoxide/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "zoxide"; 13 - version = "0.8.2"; 13 + version = "0.8.3"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "ajeetdsouza"; 17 17 repo = "zoxide"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-yueUpOU28IzQA/SI8YB9Lo3J4fiKDXze0MGDCUv0+jI="; 19 + sha256 = "sha256-ivzsVP+Mm2TX9addxUKMoOWqXPKvDtfPAT5Gu+E++4Y="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ installShellFiles ]; ··· 28 28 --replace '"fzf"' '"${fzf}/bin/fzf"' 29 29 ''; 30 30 31 - cargoSha256 = "sha256-toFfxDQcN6nSzSrvlW7aychikc6GeZ8eHjvH9e6dtHQ="; 31 + cargoSha256 = "sha256-G4EnjOuqx3k8HnKjDAz34f+kthOWFeXZdgWrXkvFWqk="; 32 32 33 33 postInstall = '' 34 34 installManPage man/man*/*
+2 -2
pkgs/tools/security/step-ca/default.nix
··· 12 12 13 13 buildGoModule rec { 14 14 pname = "step-ca"; 15 - version = "0.22.0"; 15 + version = "0.22.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "smallstep"; 19 19 repo = "certificates"; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-SLURk9zdorc9PlutYcSNJ2bSocucmBxVM/2EwASVebw="; 21 + sha256 = "sha256-iWThTFH36NNjO9Acx5QyxJrUzKFl7vD/seWF/Rz05CU="; 22 22 }; 23 23 24 24 vendorSha256 = "sha256-AcjICy991WPQyXp/9j6rgedg4FTYXilH7O4dy8gGYq8=";
+17 -1
pkgs/top-level/all-packages.nix
··· 304 304 305 305 buf = callPackage ../development/tools/buf { }; 306 306 307 + buf-language-server = callPackage ../development/tools/buf-language-server { }; 308 + 307 309 cbfmt = callPackage ../development/tools/cbfmt { }; 308 310 309 311 cfn-nag = callPackage ../development/tools/cfn-nag { }; ··· 15706 15708 bazel_self = bazel_5; 15707 15709 }; 15708 15710 15711 + bazel_6 = darwin.apple_sdk_11_0.callPackage ../development/tools/build-managers/bazel/bazel_6 { 15712 + inherit (darwin) cctools; 15713 + inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation CoreServices Foundation; 15714 + buildJdk = jdk11_headless; 15715 + runJdk = jdk11_headless; 15716 + stdenv = if stdenv.isDarwin then 15717 + darwin.apple_sdk_11_0.stdenv else 15718 + if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; 15719 + bazel_self = bazel_6; 15720 + }; 15721 + 15709 15722 bazel-buildtools = callPackage ../development/tools/build-managers/bazel/buildtools { }; 15710 15723 buildifier = bazel-buildtools; 15711 15724 buildozer = bazel-buildtools; ··· 27067 27080 27068 27081 dunst = callPackage ../applications/misc/dunst { }; 27069 27082 27070 - du-dust = callPackage ../tools/misc/dust { }; 27083 + du-dust = callPackage ../tools/misc/dust { 27084 + inherit (darwin.apple_sdk.frameworks) AppKit; 27085 + }; 27071 27086 27072 27087 dutree = callPackage ../tools/misc/dutree { }; 27073 27088 ··· 34793 34808 34794 34809 34795 34810 inherit (callPackages ../applications/science/logic/z3 { python = python2; }) 34811 + z3_4_11 34796 34812 z3_4_8 34797 34813 z3_4_7; 34798 34814 z3 = z3_4_8;