depot/third_party/nixpkgs/pkgs/by-name/ga/gatus/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

34 lines
681 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
}:
buildGoModule rec {
pname = "gatus";
version = "5.12.1";
src = fetchFromGitHub {
owner = "TwiN";
repo = "gatus";
rev = "v${version}";
hash = "sha256-K9jEepcxfV1sAC3YKqkvDA9HHlobksJPwsAcqD3gcmQ=";
};
vendorHash = "sha256-jRRFj4NdxsjC9CM+Vm5+gV0ZMbz45YtGyE3FaGaGp28=";
subPackages = [ "." ];
passthru.tests = {
inherit (nixosTests) gatus;
};
meta = with lib; {
description = "Automated developer-oriented status page";
homepage = "https://gatus.io";
license = licenses.asl20;
maintainers = with maintainers; [ undefined-moe ];
mainProgram = "gatus";
};
}