{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "atlantis"; version = "0.22.2"; src = fetchFromGitHub { owner = "runatlantis"; repo = "atlantis"; rev = "v${version}"; sha256 = "sha256-na/RYFl3g7/jOtmCeG/xQcmvDdxUqD17SLzdxJ0bYN4="; }; vendorHash = "sha256-Gg6HxL2ptCE0hXG/dCuaxcnO16htLNPsuH4QAgCQa64="; 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 ]; }; }