2007-10-30 17:04:45 +01:00
|
|
|
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null, mysql ? null}:
|
2005-09-11 23:39:22 +02:00
|
|
|
|
|
|
|
assert libxml2 != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-09-11 12:15:07 +02:00
|
|
|
name = "php-5.2.4";
|
2005-09-11 23:39:22 +02:00
|
|
|
src = fetchurl {
|
2007-09-11 12:15:07 +02:00
|
|
|
url = http://nl3.php.net/distributions/php-5.2.4.tar.bz2;
|
|
|
|
sha256 = "1h513j7crz08n7rlh8v7cvxfzisj87mvvyfrkiaa76v1wicm4bsh";
|
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];
|
|
|
|
|
2007-10-30 17:04:45 +01:00
|
|
|
inherit unixODBC postgresql mysql;
|
2006-03-15 16:59:20 +01:00
|
|
|
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
|
2005-09-11 23:39:22 +02:00
|
|
|
patches = [./fix.patch];
|
|
|
|
}
|