{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "atlantis"; version = "0.19.4"; src = fetchFromGitHub { owner = "runatlantis"; repo = "atlantis"; rev = "v${version}"; sha256 = "sha256-OvUcSccSBLuWci0DZPd6+ztthnAf47CvuAxu2NnqRQ0="; }; vendorSha256 = "sha256-LActkTCZ7/KlvFmJ+58I8hTQWdxFxlRN09Jmj1vDa2U="; 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 ]; }; }