mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
0f6f60c92d
svn path=/nixpkgs/trunk/; revision=9781
24 lines
580 B
Nix
24 lines
580 B
Nix
{ stdenv, fetchurl, perl, gdSupport ? false
|
|
, gd ? null, libpng ? null, zlib ? null
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nagios-2.10";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/nagios/nagios-2.10.tar.gz;
|
|
md5 = "8c3a29e138f2ff8c8abbd3dd8a40c4b6";
|
|
};
|
|
|
|
patches = [./nagios.patch];
|
|
buildInputs = [perl] ++ (if gdSupport then [gd libpng zlib] else []);
|
|
buildFlags = "all";
|
|
installTargets = "install install-config";
|
|
|
|
meta = {
|
|
description = "A host, service and network monitoring program";
|
|
homepage = http://www.nagios.org/;
|
|
license = "GPL";
|
|
};
|
|
}
|