nagios: add nixos test

This commit is contained in:
Symphorien Gibol
2019-12-30 16:41:18 +01:00
parent be25e45fc8
commit cb38bf33e7
3 changed files with 121 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, php, gd, libpng, zlib, unzip }:
{ stdenv, fetchurl, perl, php, gd, libpng, zlib, unzip, nixosTests }:
stdenv.mkDerivation rec {
pname = "nagios";
@@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
sed -i 's@/bin/@@g' $out/etc/objects/commands.cfg
'';
passthru.tests = {
inherit (nixosTests) nagios;
};
meta = {
description = "A host, service and network monitoring program";