kthxbye: init at 0.15
This commit is contained in:
parent
b70a718f7f
commit
bf5ddca465
2 changed files with 43 additions and 0 deletions
39
pkgs/servers/monitoring/prometheus/kthxbye.nix
Normal file
39
pkgs/servers/monitoring/prometheus/kthxbye.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kthxbye";
|
||||
version = "0.15";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
owner = "prymitive";
|
||||
repo = "kthxbye";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-N1MzutjzLk9MnE1b7dKRsiS7LL4Nb61+NpmjTBPGohI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-PtINxblqX/wxJyN42mS+hmwMy0lCd6FcQgmBnxTUdcc=";
|
||||
|
||||
buildPhase = ''
|
||||
make -j$NIX_BUILD_CORES
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 ./kthxbye -t $out/bin
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
kthxbye = nixosTests.kthxbye;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus Alertmanager alert acknowledgement management daemon";
|
||||
homepage = "https://github.com/prymitive/kthxbye";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nukaduka ];
|
||||
};
|
||||
}
|
|
@ -29091,6 +29091,10 @@ with pkgs;
|
|||
|
||||
pinniped = callPackage ../applications/networking/cluster/pinniped { };
|
||||
|
||||
kthxbye = callPackage ../servers/monitoring/prometheus/kthxbye.nix {
|
||||
buildGoModule = buildGo119Module;
|
||||
};
|
||||
|
||||
pgo-client = callPackage ../applications/networking/cluster/pgo-client { };
|
||||
|
||||
popeye = callPackage ../applications/networking/cluster/popeye { };
|
||||
|
|
Loading…
Reference in a new issue