about summary refs log tree commit diff
path: root/pkgs/development/interpreters/php
diff options
context:
space:
mode:
authorRobin Gloster <robin@loc-com.de>2015-03-11 11:06:41 +0100
committerRobin Gloster <robin@loc-com.de>2015-03-11 11:07:22 +0100
commitfff1cc805a4d65b331bd40cc2e06b86b4fe55b07 (patch)
tree2e37220032c376c9051c7c307c5e023c14bd3193 /pkgs/development/interpreters/php
parente6716cba0d25800d1c6335d4c44e1554f179229c (diff)
downloadnixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar.gz
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar.bz2
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar.lz
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar.xz
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.tar.zst
nixlib-fff1cc805a4d65b331bd40cc2e06b86b4fe55b07.zip
add calendar functions to PHP by default
Diffstat (limited to 'pkgs/development/interpreters/php')
-rw-r--r--pkgs/development/interpreters/php/5.4.nix5
-rw-r--r--pkgs/development/interpreters/php/5.5.nix4
-rw-r--r--pkgs/development/interpreters/php/5.6.nix6
3 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/php/5.4.nix b/pkgs/development/interpreters/php/5.4.nix
index dab983a13494..75e3b6b2be96 100644
--- a/pkgs/development/interpreters/php/5.4.nix
+++ b/pkgs/development/interpreters/php/5.4.nix
@@ -189,6 +189,10 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
         configureFlags = ["--enable-maintainer-zts"];
       };
 
+      calendar = {
+        configureFlags = ["--enable-calendar"];
+      };
+
       /*
          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.
@@ -229,6 +233,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
     fpmSupport = config.php.fpm or true;
     mssqlSupport = config.php.mssql or (!stdenv.isDarwin);
     ztsSupport = config.php.zts or false;
+    calendarSupport = config.php.calendar or false;
   };
 
   configurePhase = ''
diff --git a/pkgs/development/interpreters/php/5.5.nix b/pkgs/development/interpreters/php/5.5.nix
index 70380889bd3c..27878925e88f 100644
--- a/pkgs/development/interpreters/php/5.5.nix
+++ b/pkgs/development/interpreters/php/5.5.nix
@@ -193,6 +193,9 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
         buildInputs = [freetds];
       };
 
+      calendar = {
+        configureFlags = ["--enable-calendar"];
+      };
     };
 
   cfg = {
@@ -227,6 +230,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
     fpmSupport = config.php.fpm or true;
     gmpSupport = config.php.gmp or true;
     mssqlSupport = config.php.mssql or (!stdenv.isDarwin);
+    calendarSupport = config.php.calendar or true;
   };
 
   configurePhase = ''
diff --git a/pkgs/development/interpreters/php/5.6.nix b/pkgs/development/interpreters/php/5.6.nix
index bf0f2076c1c4..aba94d639328 100644
--- a/pkgs/development/interpreters/php/5.6.nix
+++ b/pkgs/development/interpreters/php/5.6.nix
@@ -193,6 +193,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
         buildInputs = [freetds];
       };
 
+
+      calendar = {
+        configureFlags = ["--enable-calendar"];
+      };
+
     };
 
   cfg = {
@@ -227,6 +232,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
     fpmSupport = config.php.fpm or true;
     gmpSupport = config.php.gmp or true;
     mssqlSupport = config.php.mssql or (!stdenv.isDarwin);
+    calendarSupport = config.php.calendar or true;
   };
 
   configurePhase = ''