nixpkgs/pkgs/servers/monitoring/bosun/scollector.nix
2015-08-11 13:46:17 +02:00

24 lines
576 B
Nix

{ lib, fetchFromGitHub, goPackages }:
with goPackages;
buildGoPackage rec {
rev = "0.3.0";
name = "scollector-${rev}";
goPackagePath = "bosun.org";
src = fetchFromGitHub {
inherit rev;
owner = "bosun-monitor";
repo = "bosun";
sha256 = "05qfhm5ipdry0figa0rhmg93c45dzh2lwpia73pfxp64l1daqa3a";
};
subPackages = [ "cmd/scollector" ];
meta = with lib; {
description = "Collect system information and store it in OpenTSDB or Bosun";
homepage = http://bosun.org/scollector;
license = licenses.mit;
platforms = platforms.linux;
};
}