about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/popeye
diff options
context:
space:
mode:
authorBryan A. S <bryanasdev000@gmail.com>2021-11-13 22:15:02 -0300
committerBryan A. S <bryanasdev000@gmail.com>2021-11-13 22:15:02 -0300
commit4e27b0a9a29094c401c32e4ae185b4b8678c8ca0 (patch)
tree13b195a711b462bb534bba28988837fb61542247 /pkgs/applications/networking/cluster/popeye
parent7e8392413c02b3f3e81d2abf0b8b37ede21cc521 (diff)
popeye: 0.9.7 -> 0.9.8
Diffstat (limited to 'pkgs/applications/networking/cluster/popeye')
-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";