2006-07-09 19:00:37 +04:00
|
|
|
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
|
2005-09-12 01:39:22 +04:00
|
|
|
|
|
|
|
assert libxml2 != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "php-5.0.4";
|
|
|
|
src = fetchurl {
|
2006-01-30 19:04:03 +03:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/php-5.0.4.tar.bz2;
|
2005-09-12 01:39:22 +04:00
|
|
|
md5 = "fb1aac107870f897d26563a9cc5053c0";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit flex bison libxml2 apacheHttpd;
|
|
|
|
|
2006-01-15 15:03:00 +03:00
|
|
|
builder = ./builder.sh;
|
2005-09-12 01:39:22 +04:00
|
|
|
|
2006-03-15 18:59:20 +03:00
|
|
|
buildInputs = [flex bison libxml2 apacheHttpd];
|
|
|
|
|
2006-07-09 19:00:37 +04:00
|
|
|
inherit unixODBC postgresql;
|
2006-03-15 18:59:20 +03:00
|
|
|
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
|
2005-09-12 01:39:22 +04:00
|
|
|
patches = [./fix.patch];
|
|
|
|
}
|