12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
23 lines
567 B
Nix
23 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.49";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.cs.uu.nl/mirror/apache.org/dist/httpd/httpd-2.0.49.tar.gz;
|
|
md5 = "275d3d37eed1b070f333d3618f7d1954";
|
|
};
|
|
|
|
inherit sslSupport db4Support;
|
|
|
|
inherit perl expat;
|
|
openssl = if sslSupport then openssl else null;
|
|
db4 = if db4Support then db4 else null;
|
|
}
|