nixpkgs/pkgs/servers/monitoring/nagios/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

16 lines
326 B
Nix

{ 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";
}