nixpkgs/pkgs/servers/http/apache-httpd/default.nix
Eelco Dolstra 78d30da09f * Apache updated to 2.0.51.
svn path=/nixpkgs/trunk/; revision=1446
2004-09-18 21:08:55 +00:00

24 lines
567 B
Nix

{ stdenv, fetchurl, openssl, db4, expat, perl
, sslSupport, db4Support
}:
assert sslSupport -> openssl != null;
assert db4Support -> db4 != null;
assert expat != null && perl != null;
stdenv.mkDerivation {
name = "apache-httpd-2.0.51";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.cs.uu.nl/mirror/apache.org/dist/httpd/httpd-2.0.51.tar.gz;
md5 = "ab93c56b88ca1b9ce71ba12e74bbc5de";
};
inherit sslSupport db4Support;
inherit perl expat;
openssl = if sslSupport then openssl else null;
db4 = if db4Support then db4 else null;
}