mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
9f1b5e24ad
* Enable unixODBC support in PHP. * Build MySQL with thread-safe client libraries. svn path=/nixpkgs/trunk/; revision=5045
23 lines
486 B
Nix
23 lines
486 B
Nix
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null}:
|
|
|
|
assert libxml2 != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "php-5.0.4";
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/php-5.0.4.tar.bz2;
|
|
md5 = "fb1aac107870f897d26563a9cc5053c0";
|
|
};
|
|
|
|
inherit flex bison libxml2 apacheHttpd;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
buildInputs = [flex bison libxml2 apacheHttpd];
|
|
|
|
inherit unixODBC;
|
|
|
|
odbcSupport = unixODBC != null;
|
|
|
|
patches = [./fix.patch];
|
|
}
|