mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
7bc63c5312
svn path=/nixpkgs/trunk/; revision=7632
28 lines
654 B
Nix
28 lines
654 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.4";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://archive.apache.org/dist/httpd/httpd-2.2.4.tar.bz2;
|
|
md5 = "536c86c7041515a25dd8bad3611da9a3";
|
|
};
|
|
|
|
inherit sslSupport db4Support;
|
|
|
|
inherit perl expat zlib;
|
|
openssl = if sslSupport then openssl else null;
|
|
db4 = if db4Support then db4 else null;
|
|
|
|
meta = {
|
|
description = "Apache HTTPD, the world's most popular web server";
|
|
};
|
|
}
|