2006-03-15 16:59:20 +01:00
|
|
|
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null}:
|
2005-09-11 23:39:22 +02:00
|
|
|
|
|
|
|
assert libxml2 != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "php-5.0.4";
|
|
|
|
src = fetchurl {
|
2006-01-30 17:04:03 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/php-5.0.4.tar.bz2;
|
2005-09-11 23:39:22 +02:00
|
|
|
md5 = "fb1aac107870f897d26563a9cc5053c0";
|
|
|
|
};
|
|
|
|
|
|
|
|
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];
|
|
|
|
|
|
|
|
inherit unixODBC;
|
|
|
|
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
|
2005-09-11 23:39:22 +02:00
|
|
|
patches = [./fix.patch];
|
|
|
|
}
|