2024-10-04 16:56:33 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nixosTests,
|
|
|
|
}:
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gatus";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "5.12.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TwiN";
|
|
|
|
repo = "gatus";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-K9jEepcxfV1sAC3YKqkvDA9HHlobksJPwsAcqD3gcmQ=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
vendorHash = "sha256-jRRFj4NdxsjC9CM+Vm5+gV0ZMbz45YtGyE3FaGaGp28=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
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";
|
|
|
|
};
|
2024-01-02 11:29:13 +00:00
|
|
|
}
|