2003-11-05 13:17:48 +01:00
|
|
|
{ stdenv, fetchurl, openssl, db4, expat, perl
|
|
|
|
, 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 {
|
2005-10-14 21:44:17 +02:00
|
|
|
name = "apache-httpd-2.0.55";
|
2003-11-05 13:17:48 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-01-30 17:11:00 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/httpd-2.0.55.tar.bz2;
|
2005-10-14 21:44:17 +02:00
|
|
|
md5 = "f1b5b65c8661db9ffe38b5a4a865a0e2";
|
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
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
inherit perl expat;
|
2004-03-27 16:47:48 +01:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
db4 = if db4Support then db4 else null;
|
2003-11-05 13:17:48 +01:00
|
|
|
}
|