git.iko.soy/typeable/nixpkgs
on master help sign in
php72Packages.xdebug: Init at 2.6.0beta1
f1779ceElis Hirwing
pkgs/top-level/php-packages.nix+13−2
@@ -8,6 +8,8 @@ let
8 };
8 };
9 isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
9 isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
10 isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
10 isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
11+ isPhp72 = pkgs.lib.versionAtLeast php.version "7.2";
12+ isPhpOlder7 = pkgs.lib.versionOlder php.version "7.0";
11
13
12 apcu = if isPhp7 then apcu51 else apcu40;
14 apcu = if isPhp7 then apcu51 else apcu40;
13
15
@@ -179,7 +181,7 @@ let
179 buildInputs = [ pkgs.spidermonkey_1_8_5 ];
181 buildInputs = [ pkgs.spidermonkey_1_8_5 ];
180 };
182 };
181
183
182− xdebug = if isPhp7 then xdebug25 else xdebug23;
184+ xdebug = if isPhp72 then xdebug26 else if isPhp7 then xdebug25 else xdebug23;
183
185
184 xdebug23 = assert !isPhp7; buildPecl {
186 xdebug23 = assert !isPhp7; buildPecl {
185 name = "xdebug-2.3.1";
187 name = "xdebug-2.3.1";
@@ -190,7 +192,7 @@ let
190 checkTarget = "test";
192 checkTarget = "test";
191 };
193 };
192
194
193− xdebug25 = buildPecl {
195+ xdebug25 = assert !isPhp72; buildPecl {
194 name = "xdebug-2.5.0";
196 name = "xdebug-2.5.0";
195
197
196 sha256 = "03c9y25a3gc3kpav0cdgmhjixcaly6974hx7wgihi0wlchgavmlb";
198 sha256 = "03c9y25a3gc3kpav0cdgmhjixcaly6974hx7wgihi0wlchgavmlb";
@@ -199,6 +201,15 @@ let
199 checkTarget = "test";
201 checkTarget = "test";
200 };
202 };
201
203
204+ xdebug26 = assert !isPhpOlder7; buildPecl {
205+ name = "xdebug-2.6.0beta1";
206+
207+ sha256 = "0zaj821jbpaqqcbr9a64sa27my9n980pmyy9kxrvvjqq3qg6dpj9";
208+
209+ doCheck = true;
210+ checkTarget = "test";
211+ };
212+
202 yaml = if isPhp7 then yaml20 else yaml13;
213 yaml = if isPhp7 then yaml20 else yaml13;
203
214
204 yaml13 = assert !isPhp7; buildPecl {
215 yaml13 = assert !isPhp7; buildPecl {