2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-12 07:21:18 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "atlantis";
|
2022-07-09 01:40:40 +01:00
|
|
|
version = "0.19.6";
|
2019-11-12 07:21:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "runatlantis";
|
|
|
|
repo = "atlantis";
|
|
|
|
rev = "v${version}";
|
2022-07-09 01:40:40 +01:00
|
|
|
sha256 = "sha256-A4OJNZHCERV2Sd/XQgt29xeBP+8PEIrpk22QypeVQ/A=";
|
2019-11-12 07:21:18 +00:00
|
|
|
};
|
|
|
|
|
2022-07-09 01:40:40 +01:00
|
|
|
vendorSha256 = "sha256-k8FvHvo2qrQcYNKXH0LiAjaW+J+BKEflhjaulQ3SRMI=";
|
2020-08-04 01:26:27 +01:00
|
|
|
|
2019-11-12 07:21:18 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2022-04-07 07:52:24 +01:00
|
|
|
doInstallCheck = true;
|
|
|
|
installCheckPhase = ''
|
|
|
|
$out/bin/atlantis version | grep ${version} > /dev/null
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-13 15:05:41 +00:00
|
|
|
homepage = "https://github.com/runatlantis/atlantis";
|
2019-11-12 07:21:18 +00:00
|
|
|
description = "Terraform Pull Request Automation";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jpotier ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|