mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
faf05a6811
svn path=/nixpkgs/trunk/; revision=6005
24 lines
566 B
Nix
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.3";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://archive.apache.org/dist/httpd/httpd-2.2.3.tar.bz2;
|
|
md5 = "887bf4a85505e97babe1d90635361c0d";
|
|
};
|
|
|
|
inherit sslSupport db4Support;
|
|
|
|
inherit perl expat zlib;
|
|
openssl = if sslSupport then openssl else null;
|
|
db4 = if db4Support then db4 else null;
|
|
}
|