Merge pull request #231839 from divanorama/bazel_watcher-0.23.1

bazel-watcher: 0.21.2 -> 0.23.1

authored by Uri Baghin and committed by GitHub 8c7c922c 794628a7

+3 -46
+3 -4
pkgs/development/tools/bazel-watcher/default.nix
··· 10 10 let 11 11 patches = [ 12 12 ./use-go-in-path.patch 13 - ./fix-rules-go-3408.patch 14 13 ]; 15 14 16 15 # Patch the protoc alias so that it always builds from source. ··· 30 29 in 31 30 buildBazelPackage rec { 32 31 pname = "bazel-watcher"; 33 - version = "0.21.2"; 32 + version = "0.23.1"; 34 33 35 34 src = fetchFromGitHub { 36 35 owner = "bazelbuild"; 37 36 repo = "bazel-watcher"; 38 37 rev = "v${version}"; 39 - sha256 = "sha256-wigrE9u1VuFnqLWyVJK3M7xsjyme2dDG6YTcD9whKnw="; 38 + sha256 = "sha256-fnhbxrgwffFQDIRLGisi1Wk3EjfkN8Mi8wtWT/Gy+78="; 40 39 }; 41 40 42 41 nativeBuildInputs = [ go git python3 ]; ··· 82 81 rm -rf $bazelOut/external/com_google_protobuf 83 82 ''; 84 83 85 - sha256 = "sha256-lC9e5Z2cxLAeWXkiFGmcB6aOaurMvwrP/k5jl3gCfAc="; 84 + sha256 = "sha256-7/sLGgUCG4SU2nbK0596467dlrKylewiewhIvNFTMvY="; 86 85 }; 87 86 88 87 buildAttrs = {
-18
pkgs/development/tools/bazel-watcher/fix-rules-go-3408.patch
··· 1 - diff --git a/WORKSPACE b/WORKSPACE 2 - index 555ab93..9f3b8a0 100644 3 - --- a/WORKSPACE 4 - +++ b/WORKSPACE 5 - @@ -46,10 +46,11 @@ rules_proto_toolchains() 6 - # gazelle:repository go_repository name=com_github_bazelbuild_rules_go importpath=github.com/bazelbuild/rules_go 7 - http_archive( 8 - name = "io_bazel_rules_go", 9 - - sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6", 10 - + sha256 = "7fd912837cc971b708037ab1d0d721b892c62dadbfdcfae5066e8e90d25876e9", 11 - + strip_prefix = "rules_go-8d309d5af15814b4096d80b60f80fa86128c43f2", 12 - urls = [ 13 - - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", 14 - - "https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", 15 - + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/archive/8d309d5af15814b4096d80b60f80fa86128c43f2.zip", 16 - + "https://github.com/bazelbuild/rules_go/archive/8d309d5af15814b4096d80b60f80fa86128c43f2.zip", 17 - ], 18 - )
-8
pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
··· 12 12 , buildJdk, runJdk 13 13 , buildJdkName 14 14 , runtimeShell 15 - # Downstream packages for tests 16 - , bazel-watcher 17 15 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 18 16 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 19 17 , enableNixHacks ? false ··· 338 336 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 339 337 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 340 338 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 341 - 342 - # downstream packages using buildBazelPackage 343 - # fixed-output hashes of the fetch phase need to be spot-checked manually 344 - downstream = recurseIntoAttrs ({ 345 - inherit bazel-watcher; 346 - }); 347 339 }; 348 340 349 341 src_for_updater = stdenv.mkDerivation rec {
-8
pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
··· 11 11 # Allow to independently override the jdks used to build and run respectively 12 12 , buildJdk, runJdk 13 13 , runtimeShell 14 - # Downstream packages for tests 15 - , bazel-watcher 16 14 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 17 15 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 18 16 , enableNixHacks ? false ··· 303 301 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 304 302 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 305 303 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 306 - 307 - # downstream packages using buildBazelPackage 308 - # fixed-output hashes of the fetch phase need to be spot-checked manually 309 - downstream = recurseIntoAttrs ({ 310 - inherit bazel-watcher; 311 - }); 312 304 }; 313 305 314 306 src_for_updater = stdenv.mkDerivation rec {
-8
pkgs/development/tools/build-managers/bazel/bazel_6/default.nix
··· 12 12 # Allow to independently override the jdks used to build and run respectively 13 13 , buildJdk, runJdk 14 14 , runtimeShell 15 - # Downstream packages for tests 16 - , bazel-watcher 17 15 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 18 16 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 19 17 , enableNixHacks ? false ··· 342 340 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 343 341 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 344 342 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 345 - 346 - # downstream packages using buildBazelPackage 347 - # fixed-output hashes of the fetch phase need to be spot-checked manually 348 - downstream = recurseIntoAttrs ({ 349 - inherit bazel-watcher; 350 - }); 351 343 }; 352 344 353 345 src_for_updater = stdenv.mkDerivation rec {