From 5fd49e35ccc4061f37ce3c65a7a0312584044768 Mon Sep 17 00:00:00 2001 From: "Bryan A. S" Date: Thu, 7 Apr 2022 03:52:24 -0300 Subject: [PATCH] atlantis: 0.16.1 -> 0.19.2 Signed-off-by: Bryan A. S --- .../networking/cluster/atlantis/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/cluster/atlantis/default.nix b/pkgs/applications/networking/cluster/atlantis/default.nix index dcb6b823667e..55807caa5afb 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";