nixpkgs/pkgs/servers/http/apache-httpd/default.nix
Eelco Dolstra 9594c8eb5b * Apache httpd 2.0.54.
svn path=/nixpkgs/trunk/; revision=2963
2005-04-30 13:59:27 +00:00

24 lines
568 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.54";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.cs.uu.nl/mirror/apache.org/dist/httpd/httpd-2.0.54.tar.bz2;
md5 = "4ae8a38c6b5db9046616ce10a0d551a2";
};
inherit sslSupport db4Support;
inherit perl expat;
openssl = if sslSupport then openssl else null;
db4 = if db4Support then db4 else null;
}