2006-07-09 17:00:37 +02:00
|
|
|
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
|
2005-09-11 23:39:22 +02:00
|
|
|
|
|
|
|
assert libxml2 != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-12-15 22:18:27 +01:00
|
|
|
name = "php-5.2.0";
|
2005-09-11 23:39:22 +02:00
|
|
|
src = fetchurl {
|
2006-12-15 22:18:27 +01:00
|
|
|
url = http://nl2.php.net/distributions/php-5.2.0.tar.bz2;
|
|
|
|
md5 = "e6029fafcee029edcfa2ceed7a005333";
|
2005-09-11 23:39:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit flex bison libxml2 apacheHttpd;
|
|
|
|
|
2006-01-15 13:03:00 +01:00
|
|
|
builder = ./builder.sh;
|
2005-09-11 23:39:22 +02:00
|
|
|
|
2006-03-15 16:59:20 +01:00
|
|
|
buildInputs = [flex bison libxml2 apacheHttpd];
|
|
|
|
|
2006-07-09 17:00:37 +02:00
|
|
|
inherit unixODBC postgresql;
|
2006-03-15 16:59:20 +01:00
|
|
|
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
|
2005-09-11 23:39:22 +02:00
|
|
|
patches = [./fix.patch];
|
|
|
|
}
|