2022-11-21 11:43:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
|
2015-11-16 13:07:00 +00:00
|
|
|
|
2022-11-21 11:43:50 +00:00
|
|
|
buildGoModule {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "bosun";
|
2022-11-21 11:43:50 +00:00
|
|
|
version = "unstable-2021-05-13";
|
2015-11-16 13:07:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bosun-monitor";
|
|
|
|
repo = "bosun";
|
2022-11-21 11:43:50 +00:00
|
|
|
rev = "e25bc3e69a1fb2e29d28f13a78ffa71cc0b8cc87";
|
|
|
|
hash = "sha256-YL1RqoryHRWKyUwO9NE8z/gsE195D+vFWR8YpZH+gbw=";
|
2015-11-16 13:07:00 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 11:43:50 +00:00
|
|
|
vendorHash = "sha256-5mVI5cyuIB+6KHlTpDxSNGU7yBsGQC4IA+iDgvVFVZM=";
|
|
|
|
|
2015-11-16 13:07:00 +00:00
|
|
|
subPackages = [ "cmd/bosun" "cmd/scollector" ];
|
2022-11-21 11:43:50 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2015-11-16 13:07:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Time Series Alerting Framework";
|
|
|
|
license = licenses.mit;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://bosun.org";
|
2015-11-16 13:07:00 +00:00
|
|
|
maintainers = with maintainers; [ offline ];
|
2022-11-21 11:43:50 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2015-11-16 13:07:00 +00:00
|
|
|
};
|
|
|
|
}
|