2016-06-06 02:28:52 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2015-11-16 14:07:00 +01:00
|
|
|
|
2016-06-06 02:28:52 +02:00
|
|
|
buildGoPackage rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
name = "bosun-${version}";
|
|
|
|
version = "0.5.0";
|
2015-11-16 14:07:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bosun-monitor";
|
|
|
|
repo = "bosun";
|
2018-05-28 14:59:57 +02:00
|
|
|
rev = version;
|
2016-06-26 07:58:52 +02:00
|
|
|
sha256 = "1qj97wiqj6awivvac1n00k0x8wdv4ambzdj4502nmmnr5rdbqq88";
|
2015-11-16 14:07:00 +01: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 ];
|
2015-11-18 11:33:50 +01:00
|
|
|
platforms = platforms.linux;
|
2015-11-16 14:07:00 +01:00
|
|
|
};
|
|
|
|
}
|