about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-04-28 16:17:31 +0200
committerGitHub <noreply@github.com>2022-04-28 16:17:31 +0200
commitdc3abef50483ad83ecad72cf19a9d1e3b8acd474 (patch)
tree3f955f14e4c86eb9757197e618b3059de211db79 /pkgs
parent47c29a2bbb761bfa6ba9db15e946605941243269 (diff)
parent546fc1ed186289c16c9cc72073bde9795e232a25 (diff)
Merge pull request #170728 from bryanasdev000/istioctl-1.13.3
istioctl: 1.13.2 -> 1.13.3
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/istioctl/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/networking/cluster/istioctl/default.nix b/pkgs/applications/networking/cluster/istioctl/default.nix
index 6c88926ca2429..1f2e98593529f 100644
--- a/pkgs/applications/networking/cluster/istioctl/default.nix
+++ b/pkgs/applications/networking/cluster/istioctl/default.nix
@@ -2,15 +2,15 @@
 
 buildGoModule rec {
   pname = "istioctl";
-  version = "1.13.2";
+  version = "1.13.3";
 
   src = fetchFromGitHub {
     owner = "istio";
     repo = "istio";
     rev = version;
-    sha256 = "sha256-7YtszdwauTz9LfZ77d13fDU6vQm5hiJrIOiqpqIginQ=";
+    sha256 = "sha256-XvV6OlGHW/eB0EUrmyTlFVbDjbxUpVo6WvrEnh6Q68I=";
   };
-  vendorSha256 = "sha256-AOcWkcw+2DcgBxvxRO/sdb339a7hmI7Oy5I4kW4oE+k=";
+  vendorSha256 = "sha256-Ex86yLMTqqiSkJns/eeodmGswAzPVQAQOf8Wqi7DRaE=";
 
   nativeBuildInputs = [ installShellFiles ];
 
@@ -26,6 +26,11 @@ buildGoModule rec {
 
   subPackages = [ "istioctl/cmd/istioctl" ];
 
+  doInstallCheck = true;
+  installCheckPhase = ''
+    $out/bin/istioctl version --remote=false | grep ${version} > /dev/null
+  '';
+
   postInstall = ''
     $out/bin/istioctl collateral --man --bash --zsh
     installManPage *.1