3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/atlantis/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
718 B
Nix
Raw Normal View History

{ 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=";
2019-11-12 07:21:18 +00:00
subPackages = [ "." ];
doInstallCheck = true;
installCheckPhase = ''
$out/bin/atlantis version | grep ${version} > /dev/null
'';
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 ];
};
}