Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
771 B
Nix
35 lines
771 B
Nix
{
|
|
autoreconfHook,
|
|
fetchFromGitHub,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "check-uptime";
|
|
version = "0-unstable-2016-11-12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "madrisan";
|
|
repo = "nagios-plugins-uptime";
|
|
rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b";
|
|
hash = "sha256-0zOvaVWCFKlbblGyObir1QI0cU186J6y1+0ki/+KCaM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postInstall = ''
|
|
ln -sr $out/libexec $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Uptime check plugin for Sensu/Nagios/others";
|
|
homepage = "https://github.com/madrisan/nagios-plugins-uptime";
|
|
license = lib.licenses.gpl3Plus;
|
|
mainProgram = "check_uptime";
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
};
|
|
}
|