summary refs log tree commit diff
diff options
context:
space:
mode:
authorBryan A. S <bryanasdev000@gmail.com>2022-04-07 03:52:24 -0300
committerBryan A. S <bryanasdev000@gmail.com>2022-04-07 03:52:24 -0300
commit5fd49e35ccc4061f37ce3c65a7a0312584044768 (patch)
tree324876e1c579b268cb4ab4ceafb4086784c3c70d
parent1eda2b96deb20b5eb669db9adc540e82c8258f30 (diff)
downloadnixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar.gz
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar.bz2
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar.lz
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar.xz
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.tar.zst
nixpkgs-5fd49e35ccc4061f37ce3c65a7a0312584044768.zip
atlantis: 0.16.1 -> 0.19.2
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
-rw-r--r--pkgs/applications/networking/cluster/atlantis/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/networking/cluster/atlantis/default.nix b/pkgs/applications/networking/cluster/atlantis/default.nix
index dcb6b823667..55807caa5af 100644
--- a/pkgs/applications/networking/cluster/atlantis/default.nix
+++ b/pkgs/applications/networking/cluster/atlantis/default.nix
@@ -2,21 +2,24 @@
 
 buildGoModule rec {
   pname = "atlantis";
-  version = "0.16.1";
+  version = "0.19.2";
 
   src = fetchFromGitHub {
     owner = "runatlantis";
     repo = "atlantis";
     rev = "v${version}";
-    sha256 = "sha256-D549pInoK8ispgcn8LYdix19Hp7wO6w2/d2Y1L/9Px8=";
+    sha256 = "sha256-cd2dhrqJl/VRhOYB1g9OpOnPV92EQm8f3rRGZGVN+IY=";
   };
 
-  vendorSha256 = null;
-
-  doCheck = false;
+  vendorSha256 = "sha256-ux+Hw/TjeiY9VYhIQxaltZGk5CkxAab8R7kAsTaMUGc=";
 
   subPackages = [ "." ];
 
+  doInstallCheck = true;
+  installCheckPhase = ''
+    $out/bin/atlantis version | grep ${version} > /dev/null
+  '';
+
   meta = with lib; {
     homepage = "https://github.com/runatlantis/atlantis";
     description = "Terraform Pull Request Automation";