mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
nagiosPlugins.check_uptime: format with nixfmt-rfc-style
This commit is contained in:
parent
7d7546cf42
commit
548a22da04
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user