diff options
author | Jason \"Don\" O'Conal <lovek323@gmail.com> | 2013-06-24 14:32:02 +0200 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2013-07-04 13:12:13 +0200 |
commit | 1f9005a3f6bb6586c809e0feb71a5b39e5690499 (patch) | |
tree | 965d271901f5605d522233f635dd1ff5da057097 /pkgs/development/interpreters/php | |
parent | 9007e57f281cc692c7ac2682c088d5e48b161d76 (diff) | |
download | nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar.gz nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar.bz2 nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar.lz nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar.xz nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.tar.zst nixlib-1f9005a3f6bb6586c809e0feb71a5b39e5690499.zip |
php53: add imap option
Diffstat (limited to 'pkgs/development/interpreters/php')
-rw-r--r-- | pkgs/development/interpreters/php/5.3.nix | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/development/interpreters/php/5.3.nix b/pkgs/development/interpreters/php/5.3.nix index 347a374ffcc3..d879a611c2ae 100644 --- a/pkgs/development/interpreters/php/5.3.nix +++ b/pkgs/development/interpreters/php/5.3.nix @@ -1,7 +1,8 @@ { stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison , apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext , openssl, pkgconfig, sqlite, config, libjpeg, libpng, freetype, libxslt -, libmcrypt, bzip2, icu, libssh2, makeWrapper, libiconvOrEmpty, libiconv }: +, libmcrypt, bzip2, icu, libssh2, makeWrapper, libiconvOrEmpty, libiconv, uwimap +, pam }: let libmcryptOverride = libmcrypt.override { disablePosixThreads = true; }; @@ -132,6 +133,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) buildInputs = [gettext]; }; + imap = { + configureFlags = [ "--with-imap=${uwimap}" "--with-imap-ssl" ]; + buildInputs = [ uwimap openssl pam ]; + }; + intl = { configureFlags = ["--enable-intl"]; buildInputs = [icu]; @@ -163,18 +169,6 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) ftp = { configureFlags = ["--enable-ftp"]; }; - - /* - php is build within this derivation in order to add the xdebug lines to the php.ini. - So both Apache and command line php both use xdebug without having to configure anything. - Xdebug could be put in its own derivation. - * / - meta = { - description = "debugging support for PHP"; - homepage = http://xdebug.org; - license = "based on the PHP license - as is"; - }; - */ }; cfg = { @@ -186,6 +180,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) ftpSupport = config.php.ftp or true; gdSupport = config.php.gd or true; gettextSupport = config.php.gettext or true; + imapSupport = config.php.imap or false; intlSupport = config.php.intl or true; libxml2Support = config.php.libxml2 or true; mbstringSupport = config.php.mbstring or true; |