2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-12 07:21:18 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "atlantis";
|
2023-01-21 00:41:30 +00:00
|
|
|
version = "0.22.3";
|
2019-11-12 07:21:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "runatlantis";
|
|
|
|
repo = "atlantis";
|
|
|
|
rev = "v${version}";
|
2023-01-21 00:41:30 +00:00
|
|
|
sha256 = "sha256-A/FT9t5Z+Iw1mVwS3d5Cc86A9e6jVbEtmEWroVUhhtw=";
|
2019-11-12 07:21:18 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 00:41:30 +00:00
|
|
|
vendorHash = "sha256-KUkh5yx+v5g0N4yIpgpt3i+uCtOtR0Jvf2PFQcGWtm8=";
|
2020-08-04 00:26:27 +00:00
|
|
|
|
2019-11-12 07:21:18 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2022-04-07 06:52:24 +00: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 03:58:04 +00:00
|
|
|
}
|