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