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
716 B
Nix
Raw Normal View History

{ 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=";
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 ];
};
}