2016-06-06 01:28:52 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2015-11-16 13:07:00 +00:00
|
|
|
|
2016-06-06 01:28:52 +01:00
|
|
|
buildGoPackage rec {
|
2018-05-28 13:59:57 +01:00
|
|
|
name = "bosun-${version}";
|
|
|
|
version = "0.5.0";
|
2015-11-16 13:07:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bosun-monitor";
|
|
|
|
repo = "bosun";
|
2018-05-28 13:59:57 +01:00
|
|
|
rev = version;
|
2016-06-26 06:58:52 +01:00
|
|
|
sha256 = "1qj97wiqj6awivvac1n00k0x8wdv4ambzdj4502nmmnr5rdbqq88";
|
2015-11-16 13:07:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "cmd/bosun" "cmd/scollector" ];
|
|
|
|
goPackagePath = "bosun.org";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Time Series Alerting Framework";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://bosun.org;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2015-11-16 13:07:00 +00:00
|
|
|
};
|
|
|
|
}
|