34 lines
681 B
Nix
34 lines
681 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gatus";
|
|
version = "5.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TwiN";
|
|
repo = "gatus";
|
|
rev = "v${version}";
|
|
hash = "sha256-+wXkB6QPAXerv8WKk4f7WA44eEaiw92Z+1bqhkZk9qQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-pM47Jy7WIS8+3mFEmPZdnyxcDjoxgdP46xuTmf4p2JM=";
|
|
|
|
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";
|
|
};
|
|
}
|