2015-02-04 04:41:31 -08:00
|
|
|
{ lib, fetchFromGitHub, goPackages }:
|
2014-11-20 04:14:48 -08:00
|
|
|
|
2015-02-04 04:41:31 -08:00
|
|
|
with goPackages;
|
2014-11-20 04:14:48 -08:00
|
|
|
|
2015-02-04 04:41:31 -08:00
|
|
|
buildGoPackage rec {
|
2015-04-15 04:12:56 -07:00
|
|
|
rev = "20150409220449";
|
2015-02-04 04:41:31 -08:00
|
|
|
name = "bosun-${rev}";
|
|
|
|
goPackagePath = "bosun.org";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "bosun-monitor";
|
|
|
|
repo = "bosun";
|
2015-04-15 04:12:56 -07:00
|
|
|
sha256 = "02bvq9hx2h4pgjclv09nm0al8ybvq0syhyhn5cvw0wgnn9bwn5mb";
|
2015-02-04 04:41:31 -08:00
|
|
|
};
|
|
|
|
subPackages = [ "cmd/scollector" ];
|
2014-11-20 04:14:48 -08:00
|
|
|
|
2015-02-04 04:41:31 -08:00
|
|
|
meta = with lib; {
|
2014-11-21 06:43:12 -08:00
|
|
|
description = "Collect system information and store it in OpenTSDB or Bosun";
|
|
|
|
homepage = http://bosun.org/scollector;
|
|
|
|
license = licenses.mit;
|
2015-02-04 04:41:31 -08:00
|
|
|
platforms = platforms.linux;
|
2014-11-21 06:43:12 -08:00
|
|
|
};
|
2014-11-20 04:14:48 -08:00
|
|
|
}
|