3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/apache-httpd/default.nix
Eelco Dolstra 349331bab0 * Apache httpd 2.0.52.
svn path=/nixpkgs/trunk/; revision=1561
2004-10-15 13:56:02 +00:00

24 lines
557 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.52";
builder = ./builder.sh;
src = fetchurl {
url = http://archive.apache.org/dist/httpd/httpd-2.0.52.tar.bz2;
md5 = "0e1b47c53921a1fc8fb006effdb3bf1c";
};
inherit sslSupport db4Support;
inherit perl expat;
openssl = if sslSupport then openssl else null;
db4 = if db4Support then db4 else null;
}