3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/apache-httpd/default.nix
Eelco Dolstra b315ca4871 * Apache 2.2.2.
svn path=/nixpkgs/trunk/; revision=5435
2006-06-14 10:10:25 +00:00

24 lines
566 B
Nix

{ stdenv, fetchurl, openssl, db4, expat, perl, zlib
, sslSupport, db4Support
}:
assert sslSupport -> openssl != null;
assert db4Support -> db4 != null;
assert expat != null && perl != null;
stdenv.mkDerivation {
name = "apache-httpd-2.2.2";
builder = ./builder.sh;
src = fetchurl {
url = http://archive.apache.org/dist/httpd/httpd-2.2.2.tar.bz2;
md5 = "9c759a9744436de6a6aa2ddbc49d6e81";
};
inherit sslSupport db4Support;
inherit perl expat zlib;
openssl = if sslSupport then openssl else null;
db4 = if db4Support then db4 else null;
}