nixpkgs/pkgs/servers/monitoring/bosun/scollector.nix
2015-04-15 13:12:56 +02:00

23 lines
580 B
Nix

{ lib, fetchFromGitHub, goPackages }:
with goPackages;
buildGoPackage rec {
rev = "20150409220449";
name = "bosun-${rev}";
goPackagePath = "bosun.org";
src = fetchFromGitHub {
inherit rev;
owner = "bosun-monitor";
repo = "bosun";
sha256 = "02bvq9hx2h4pgjclv09nm0al8ybvq0syhyhn5cvw0wgnn9bwn5mb";
};
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;
};
}