forked from mirrors/nixpkgs
bosun: 0.3.0 -> 0.5.0-alpha
This commit is contained in:
parent
88f5cfc126
commit
c8d1e900d6
24
pkgs/servers/monitoring/bosun/default.nix
Normal file
24
pkgs/servers/monitoring/bosun/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, fetchFromGitHub, goPackages }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
name = "bosun";
|
||||
rev = "0.5.0-alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "bosun-monitor";
|
||||
repo = "bosun";
|
||||
sha256 = "0nkphzkwx5r974skn269nnsqr4gllws5z4z6n53sslj2x9rz57ml";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/bosun" "cmd/scollector" ];
|
||||
goPackagePath = "bosun.org";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Time Series Alerting Framework";
|
||||
license = licenses.mit;
|
||||
homepage = https://bosun.org;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
|
@ -9066,7 +9066,7 @@ let
|
|||
|
||||
bird = callPackage ../servers/bird { };
|
||||
|
||||
bosun = go14Packages.bosun.bin // { outputs = [ "bin" ]; };
|
||||
bosun = (callPackage ../servers/monitoring/bosun { }).bin // { outputs = [ "bin" ]; };
|
||||
scollector = bosun;
|
||||
|
||||
charybdis = callPackage ../servers/irc/charybdis {};
|
||||
|
|
|
@ -247,17 +247,6 @@ let
|
|||
sha256 = "193adhhsqdy0kyq1l1fi8pg2n6pwyrw4h607qm78qyi26f8i7vzf";
|
||||
};
|
||||
|
||||
bosun = buildFromGitHub {
|
||||
rev = "0.3.0";
|
||||
owner = "bosun-monitor";
|
||||
repo = "bosun";
|
||||
sha256 = "05qfhm5ipdry0figa0rhmg93c45dzh2lwpia73pfxp64l1daqa3a";
|
||||
goPackagePath = "bosun.org";
|
||||
# Todo: Split these derivations if worried about size on each machine
|
||||
subPackages = [ "cmd/bosun" "cmd/scollector" ];
|
||||
disabled = !isGo14;
|
||||
};
|
||||
|
||||
bufio = buildFromGitHub {
|
||||
rev = "24e7e48f60fc2d9e99e43c07485d9fff42051e66";
|
||||
owner = "vmihailenco";
|
||||
|
|
Loading…
Reference in a new issue