Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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";
|
|
};
|
|
}
|