mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
b83fc581e2
svn path=/nixpkgs/trunk/; revision=7349
24 lines
515 B
Nix
24 lines
515 B
Nix
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
|
|
|
|
assert libxml2 != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "php-5.2.0";
|
|
src = fetchurl {
|
|
url = http://nl2.php.net/distributions/php-5.2.0.tar.bz2;
|
|
md5 = "e6029fafcee029edcfa2ceed7a005333";
|
|
};
|
|
|
|
inherit flex bison libxml2 apacheHttpd;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
buildInputs = [flex bison libxml2 apacheHttpd];
|
|
|
|
inherit unixODBC postgresql;
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
patches = [./fix.patch];
|
|
}
|