nixpkgs/pkgs/servers/monitoring/nagios/default.nix

16 lines
326 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation {
name = "nagios-2.6";
src = fetchurl {
url = mirror://sourceforge/nagios/nagios-2.6.tar.gz;
md5 = "a032edba07bf389b803ce817e9406c02";
};
patches = [./nagios.patch];
buildInputs = [perl];
buildFlags = "all";
installTargets = "install install-config";
}