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 let 11 patches = [ 12 ./use-go-in-path.patch 13 - ./fix-rules-go-3408.patch 14 ]; 15 16 # Patch the protoc alias so that it always builds from source. ··· 30 in 31 buildBazelPackage rec { 32 pname = "bazel-watcher"; 33 - version = "0.21.2"; 34 35 src = fetchFromGitHub { 36 owner = "bazelbuild"; 37 repo = "bazel-watcher"; 38 rev = "v${version}"; 39 - sha256 = "sha256-wigrE9u1VuFnqLWyVJK3M7xsjyme2dDG6YTcD9whKnw="; 40 }; 41 42 nativeBuildInputs = [ go git python3 ]; ··· 82 rm -rf $bazelOut/external/com_google_protobuf 83 ''; 84 85 - sha256 = "sha256-lC9e5Z2cxLAeWXkiFGmcB6aOaurMvwrP/k5jl3gCfAc="; 86 }; 87 88 buildAttrs = {
··· 10 let 11 patches = [ 12 ./use-go-in-path.patch 13 ]; 14 15 # Patch the protoc alias so that it always builds from source. ··· 29 in 30 buildBazelPackage rec { 31 pname = "bazel-watcher"; 32 + version = "0.23.1"; 33 34 src = fetchFromGitHub { 35 owner = "bazelbuild"; 36 repo = "bazel-watcher"; 37 rev = "v${version}"; 38 + sha256 = "sha256-fnhbxrgwffFQDIRLGisi1Wk3EjfkN8Mi8wtWT/Gy+78="; 39 }; 40 41 nativeBuildInputs = [ go git python3 ]; ··· 81 rm -rf $bazelOut/external/com_google_protobuf 82 ''; 83 84 + sha256 = "sha256-7/sLGgUCG4SU2nbK0596467dlrKylewiewhIvNFTMvY="; 85 }; 86 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 , buildJdk, runJdk 13 , buildJdkName 14 , runtimeShell 15 - # Downstream packages for tests 16 - , bazel-watcher 17 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 18 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 19 , enableNixHacks ? false ··· 338 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 339 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 340 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 }; 348 349 src_for_updater = stdenv.mkDerivation rec {
··· 12 , buildJdk, runJdk 13 , buildJdkName 14 , runtimeShell 15 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 16 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 17 , enableNixHacks ? false ··· 336 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 337 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 338 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 339 }; 340 341 src_for_updater = stdenv.mkDerivation rec {
-8
pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
··· 11 # Allow to independently override the jdks used to build and run respectively 12 , buildJdk, runJdk 13 , runtimeShell 14 - # Downstream packages for tests 15 - , bazel-watcher 16 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 17 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 18 , enableNixHacks ? false ··· 303 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 304 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 305 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 }; 313 314 src_for_updater = stdenv.mkDerivation rec {
··· 11 # Allow to independently override the jdks used to build and run respectively 12 , buildJdk, runJdk 13 , runtimeShell 14 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 15 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 16 , enableNixHacks ? false ··· 301 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 302 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 303 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 304 }; 305 306 src_for_updater = stdenv.mkDerivation rec {
-8
pkgs/development/tools/build-managers/bazel/bazel_6/default.nix
··· 12 # Allow to independently override the jdks used to build and run respectively 13 , buildJdk, runJdk 14 , runtimeShell 15 - # Downstream packages for tests 16 - , bazel-watcher 17 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 18 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 19 , enableNixHacks ? false ··· 342 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 343 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 344 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 }; 352 353 src_for_updater = stdenv.mkDerivation rec {
··· 12 # Allow to independently override the jdks used to build and run respectively 13 , buildJdk, runJdk 14 , runtimeShell 15 # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 16 # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 17 , enableNixHacks ? false ··· 340 javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 341 protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 342 pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 343 }; 344 345 src_for_updater = stdenv.mkDerivation rec {