nagiosPlugins.check_uptime: format with nixfmt-rfc-style

This commit is contained in:
Anthony Roussel 2024-03-24 23:59:27 +01:00 committed by Anthony ROUSSEL
parent 7d7546cf42
commit 548a22da04

View File

@ -1,13 +1,18 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
{
autoreconfHook,
fetchFromGitHub,
lib,
stdenv,
}:
stdenv.mkDerivation {
pname = "check_uptime";
version = "20161112";
src = fetchFromGitHub {
owner = "madrisan";
repo = "nagios-plugins-uptime";
rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b";
owner = "madrisan";
repo = "nagios-plugins-uptime";
rev = "51822dacd1d404b3eabf3b4984c64b2475ed6f3b";
sha256 = "18q9ibzqn97dsyr9xs3w9mqk80nmmfw3kcjidrdsj542amlsycyk";
};
@ -17,10 +22,11 @@ stdenv.mkDerivation {
postInstall = "ln -sr $out/libexec $out/bin";
meta = with lib; {
meta = {
description = "Uptime check plugin for Sensu/Nagios/others";
homepage = "https://github.com/madrisan/nagios-plugins-uptime";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
homepage = "https://github.com/madrisan/nagios-plugins-uptime";
license = lib.licenses.gpl3;
mainProgram = "check_uptime";
maintainers = with lib.maintainers; [ peterhoeg ];
};
}