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-05-14 13:11:35 +02:00
|
|
|
rev = "20150506172827";
|
|
|
|
name = "scollector-${rev}";
|
2015-02-04 13:41:31 +01:00
|
|
|
goPackagePath = "bosun.org";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "bosun-monitor";
|
|
|
|
repo = "bosun";
|
2015-05-14 13:11:35 +02:00
|
|
|
sha256 = "0rnfiv9b835b8j8r9qh9j2mz9mm9q45vfg9cqa4nngrgfd0cqvl8";
|
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
|
|
|
}
|