nixpkgs/pkgs/servers/monitoring/prometheus/sachet.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
553 B
Nix

{ 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 ];
};
}