nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 nixosTests,
6}:
7
8buildGoModule rec {
9 pname = "gatus";
10 version = "5.17.0";
11
12 src = fetchFromGitHub {
13 owner = "TwiN";
14 repo = "gatus";
15 rev = "v${version}";
16 hash = "sha256-/YOC13ut1k48vx/LapcShNfi83LxbC62yxKuanlUI9k=";
17 };
18
19 vendorHash = "sha256-gr/GmZaaNwp/jQwnDiU/kfDWaciQloxP9vNlVTwMQjE=";
20
21 subPackages = [ "." ];
22
23 passthru.tests = {
24 inherit (nixosTests) gatus;
25 };
26
27 meta = with lib; {
28 description = "Automated developer-oriented status page";
29 homepage = "https://gatus.io";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ undefined-moe ];
32 mainProgram = "gatus";
33 };
34}