2006-02-28 13:01:39 +01:00
|
|
|
{ stdenv, fetchurl, openssl, db4, expat, perl, zlib
|
2003-11-05 13:17:48 +01:00
|
|
|
, sslSupport, db4Support
|
|
|
|
}:
|
2003-12-21 22:25:38 +01:00
|
|
|
|
2004-03-27 16:47:48 +01:00
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
assert db4Support -> db4 != null;
|
|
|
|
assert expat != null && perl != null;
|
2003-12-21 22:25:38 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2006-07-31 17:07:28 +02:00
|
|
|
name = "apache-httpd-2.2.3";
|
2003-11-05 13:17:48 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-12 15:50:54 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/httpd-2.2.3.tar.bz2;
|
2006-07-31 17:07:28 +02:00
|
|
|
md5 = "887bf4a85505e97babe1d90635361c0d";
|
2003-11-05 17:28:26 +01:00
|
|
|
};
|
2003-11-05 13:17:48 +01:00
|
|
|
|
2004-03-27 16:47:48 +01:00
|
|
|
inherit sslSupport db4Support;
|
2003-12-21 22:25:38 +01:00
|
|
|
|
2006-02-28 13:01:39 +01:00
|
|
|
inherit perl expat zlib;
|
2004-03-27 16:47:48 +01:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
db4 = if db4Support then db4 else null;
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Apache HTTPD, the world's most popular web server";
|
|
|
|
};
|
2003-11-05 13:17:48 +01:00
|
|
|
}
|