nixpkgs/pkgs/by-name/ga/gatus/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
681 B
Nix
Raw Normal View History

2024-09-19 19:35:06 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
}:
2023-11-24 17:01:44 +00:00
buildGoModule rec {
pname = "gatus";
2024-09-09 11:44:23 +00:00
version = "5.12.1";
2023-11-24 17:01:44 +00:00
src = fetchFromGitHub {
owner = "TwiN";
repo = "gatus";
rev = "v${version}";
2024-09-09 11:44:23 +00:00
hash = "sha256-K9jEepcxfV1sAC3YKqkvDA9HHlobksJPwsAcqD3gcmQ=";
2023-11-24 17:01:44 +00:00
};
2024-08-27 12:56:58 +00:00
vendorHash = "sha256-jRRFj4NdxsjC9CM+Vm5+gV0ZMbz45YtGyE3FaGaGp28=";
2023-11-24 17:01:44 +00:00
subPackages = [ "." ];
2024-09-19 19:35:06 +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";
};
2023-11-24 17:01:44 +00:00
}