about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2021-11-13 22:53:56 -0300
committerGitHub <noreply@github.com>2021-11-13 22:53:56 -0300
commit0f9a77f455b1e3eea443335d642fa94545664859 (patch)
tree65eb4d0d07ab5665ab6628914ffe6a65d626ed77 /pkgs/applications/networking/cluster
parentec3a29e34488c1b876f80ccb53730d917bd92dd4 (diff)
parent4e27b0a9a29094c401c32e4ae185b4b8678c8ca0 (diff)
Merge pull request #145832 from bryanasdev000/popeye
popeye: 0.9.7 -> 0.9.8
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r--pkgs/applications/networking/cluster/popeye/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/popeye/default.nix b/pkgs/applications/networking/cluster/popeye/default.nix
index 910317bd9673c..e70856ef9d904 100644
--- a/pkgs/applications/networking/cluster/popeye/default.nix
+++ b/pkgs/applications/networking/cluster/popeye/default.nix
@@ -2,13 +2,13 @@
 
 buildGoModule rec {
   pname = "popeye";
-  version = "0.9.7";
+  version = "0.9.8";
 
   src = fetchFromGitHub {
     rev = "v${version}";
     owner = "derailed";
     repo = "popeye";
-    sha256 = "sha256-oft1zLLd5TP8S9GMjp5kYaoPoOYnbhJwL2wBerkhp+c=";
+    sha256 = "sha256-uGy2BbZS4SGT0w9ICYPUIfFawSvIVMsEezPfPAPQU/Q=";
   };
 
   ldflags = [
@@ -21,6 +21,11 @@ buildGoModule rec {
 
   doCheck = true;
 
+  doInstallCheck = true;
+  installCheckPhase = ''
+    $out/bin/popeye version | grep ${version} > /dev/null
+  '';
+
   meta = with lib; {
     description = "A Kubernetes cluster resource sanitizer";
     homepage = "https://github.com/derailed/popeye";