78d30da09f
svn path=/nixpkgs/trunk/; revision=1446
24 lines
567 B
Nix
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;
|
|
}
|