nixpkgs/pkgs/servers/monitoring/bosun/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
695 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, buildGoModule }:
2015-11-16 13:07:00 +00:00
buildGoModule {
pname = "bosun";
version = "unstable-2021-05-13";
2015-11-16 13:07:00 +00:00
src = fetchFromGitHub {
owner = "bosun-monitor";
repo = "bosun";
rev = "e25bc3e69a1fb2e29d28f13a78ffa71cc0b8cc87";
hash = "sha256-YL1RqoryHRWKyUwO9NE8z/gsE195D+vFWR8YpZH+gbw=";
2015-11-16 13:07:00 +00:00
};
vendorHash = "sha256-5mVI5cyuIB+6KHlTpDxSNGU7yBsGQC4IA+iDgvVFVZM=";
2015-11-16 13:07:00 +00:00
subPackages = [ "cmd/bosun" "cmd/scollector" ];
ldflags = [ "-s" "-w" ];
2015-11-16 13:07:00 +00:00
meta = with lib; {
description = "Time Series Alerting Framework";
license = licenses.mit;
homepage = "https://bosun.org";
2015-11-16 13:07:00 +00:00
maintainers = with maintainers; [ offline ];
broken = stdenv.isDarwin;
2015-11-16 13:07:00 +00:00
};
}