diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-11-29 09:31:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 09:31:48 -0500 |
commit | 0ff57a8e4c59b985580da5d97360e2955e0021a0 (patch) | |
tree | 65d0ac305015d46619c1f048a8850c87916697e4 /pkgs/servers/monitoring | |
parent | 1bb337c789ff144564f91c7d1b4feaff1c95de8b (diff) | |
parent | 4f9f1408070157cb7c3a3c072e054180925b3fc5 (diff) |
Merge pull request #202181 from aaronjheng/bosun
bosun: 0.8.0-preview -> unstable-2021-05-13
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/bosun/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/servers/monitoring/bosun/default.nix b/pkgs/servers/monitoring/bosun/default.nix index b0ab129fc8402..aaea365321583 100644 --- a/pkgs/servers/monitoring/bosun/default.nix +++ b/pkgs/servers/monitoring/bosun/default.nix @@ -1,18 +1,21 @@ -{ lib, fetchFromGitHub, buildGoPackage }: +{ lib, stdenv, fetchFromGitHub, buildGoModule }: -buildGoPackage rec { +buildGoModule { pname = "bosun"; - version = "0.8.0-preview"; + version = "unstable-2021-05-13"; src = fetchFromGitHub { owner = "bosun-monitor"; repo = "bosun"; - rev = version; - sha256 = "172mm006jarc2zm2yq7970k2a9akmyzvsrr8aqym4wk5v9x8kk0r"; + rev = "e25bc3e69a1fb2e29d28f13a78ffa71cc0b8cc87"; + hash = "sha256-YL1RqoryHRWKyUwO9NE8z/gsE195D+vFWR8YpZH+gbw="; }; + vendorHash = "sha256-5mVI5cyuIB+6KHlTpDxSNGU7yBsGQC4IA+iDgvVFVZM="; + subPackages = [ "cmd/bosun" "cmd/scollector" ]; - goPackagePath = "bosun.org"; + + ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Time Series Alerting Framework"; @@ -20,5 +23,6 @@ buildGoPackage rec { homepage = "https://bosun.org"; maintainers = with maintainers; [ offline ]; platforms = platforms.unix; + broken = stdenv.isDarwin; }; } |