mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
5fd49e35cc
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
30 lines
718 B
Nix
30 lines
718 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "atlantis";
|
|
version = "0.19.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "runatlantis";
|
|
repo = "atlantis";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cd2dhrqJl/VRhOYB1g9OpOnPV92EQm8f3rRGZGVN+IY=";
|
|
};
|
|
|
|
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";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ jpotier ];
|
|
};
|
|
}
|