about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus/sachet.nix
blob: 977e5d9060744b64cb9ff1cfe468e0359465f36d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "sachet";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "messagebird";
    repo = pname;
    rev = version;
    hash = "sha256-zcFViE1/B+wrkxZ3YIyfy2IBbxLvXOf8iK/6eqZb1ZQ=";
  };

  vendorHash = null;

  meta = with lib; {
    description = "An SMS alerting tool for Prometheus's Alertmanager";
    mainProgram = "sachet";
    homepage = "https://github.com/messagebird/sachet";
    license = licenses.bsd2;
    maintainers = with maintainers; [ govanify ];
  };
}