nagios: format with nixpkgs-fmt

This commit is contained in:
Anthony Roussel 2023-11-07 11:57:16 +01:00 committed by Jonathan Ringer
parent 40c06a143f
commit 970efe216b

View File

@ -1,4 +1,14 @@
{ lib, stdenv, fetchurl, perl, php, gd, libpng, zlib, unzip, nixosTests }:
{ lib
, stdenv
, fetchurl
, perl
, php
, gd
, libpng
, zlib
, unzip
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "nagios";
@ -11,7 +21,14 @@ stdenv.mkDerivation rec {
patches = [ ./nagios.patch ];
nativeBuildInputs = [ unzip ];
buildInputs = [ php perl gd libpng zlib ];
buildInputs = [
php
perl
gd
libpng
zlib
];
configureFlags = [ "--localstatedir=/var/lib/nagios" ];
buildFlags = [ "all" ];
@ -34,9 +51,9 @@ stdenv.mkDerivation rec {
meta = {
description = "A host, service and network monitoring program";
homepage = "https://www.nagios.org/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
homepage = "https://www.nagios.org/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ immae thoughtpolice relrod ];
};
}