Merge #65846: Update php packages

This commit is contained in:
Vladimír Čunát 2019-08-10 14:42:37 +02:00
commit 387e6952d3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 39 additions and 18 deletions

View File

@ -254,16 +254,16 @@ let
in {
php72 = generic {
version = "7.2.20";
sha256 = "116a1m0xjn2yi8d5kwzjk335q4brgl7xplcji2p87i2l9vjjkf4z";
version = "7.2.21";
sha256 = "1vqldc2namfblwyv87fgpfffkjpzawfpcp48f40nfdl3pshq6c9l";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
};
php73 = generic {
version = "7.3.7";
sha256 = "065z2q6imjxlbh6w1r7565ygqhigfbzcz70iaic74hj626kqyq63";
version = "7.3.8";
sha256 = "1xbndimrfamf97m3vln842g9w1ikq071gjfkk15ai7sx2wqccrnm";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php73-darwin-isfinite.patch;

View File

@ -39,10 +39,10 @@ let
};
ast = buildPecl rec {
version = "1.0.1";
version = "1.0.3";
pname = "ast";
sha256 = "0ja74k2lmxwhhvp9y9kc7khijd7s2dqma5x8ghbhx9ajkn0wg8iq";
sha256 = "1sk9bkyw3ck9jgvlazxx8zl2nv6lc0gq66v1rfcby9v0zyydb7xr";
};
box = mkDerivation rec {
@ -73,12 +73,12 @@ let
};
composer = mkDerivation rec {
version = "1.8.6";
version = "1.9.0";
pname = "composer";
src = pkgs.fetchurl {
url = "https://getcomposer.org/download/${version}/composer.phar";
sha256 = "0hnm7njab9nsifpb1qbwx54yfpsi00g8mzny11s13ibjvd9rnvxn";
sha256 = "0x88bin1c749ajymz2cqjx8660a3wxvndpv4xr6w3pib16fzdpy9";
};
dontUnpack = true;
@ -143,10 +143,10 @@ let
};
event = buildPecl rec {
version = "2.5.2";
version = "2.5.3";
pname = "event";
sha256 = "0b9zbwyyfcrzs1gcpqn2dkjq6jliw89g2m981f8ildbp84snkpcf";
sha256 = "12liry5ldvgwp1v1a6zgfq8w6iyyxmsdj4c71bp157nnf58cb8hb";
configureFlags = [
"--with-event-libevent-dir=${pkgs.libevent.dev}"
@ -450,10 +450,10 @@ let
};
protobuf = buildPecl rec {
version = "3.8.0";
version = "3.9.0";
pname = "protobuf";
sha256 = "09zs7w9iv6432i0js44ihxymbd4pcxlprlzqkcjsxjpbprs4qpv2";
sha256 = "1pyfxrfdbzzg5al4byyazdrvy7yad13zwq7papbb2d8gkvc3f3kh";
buildInputs = with pkgs; [ (if isPhp73 then pcre2 else pcre) ];
@ -493,20 +493,41 @@ let
};
};
pthreads = assert (pkgs.config.php.zts or false); buildPecl rec {
version = "3.1.5";
pthreads = if isPhp73 then pthreads32-dev else pthreads32;
pthreads32 = assert (pkgs.config.php.zts or false); assert !isPhp73; buildPecl rec {
version = "3.2.0";
pname = "pthreads";
sha256 = "1ziap0py3zrc7qj9lw4nzq6wx1viyj8v9y1babchizzan014x6p5";
src = pkgs.fetchFromGitHub {
owner = "krakjoe";
repo = "pthreads";
rev = "v${version}";
sha256 = "17hypm75d4w7lvz96jb7s0s87018yzmmap0l125d5fd7abnhzfvv";
};
meta.broken = true;
buildInputs = with pkgs; [ pcre.dev ];
};
pthreads32-dev = assert (pkgs.config.php.zts or false); assert isPhp73; buildPecl rec {
version = "3.2.0-dev";
pname = "pthreads";
src = pkgs.fetchFromGitHub {
owner = "krakjoe";
repo = "pthreads";
rev = "4d1c2483ceb459ea4284db4eb06646d5715e7154";
sha256 = "07kdxypy0bgggrfav2h1ccbv67lllbvpa3s3zsaqci0gq4fyi830";
};
buildInputs = with pkgs; [ pcre2.dev ];
};
redis = buildPecl rec {
version = "4.3.0";
version = "5.0.2";
pname = "redis";
sha256 = "18hvll173mlp6dk6xvgajkjf4min8f5gn809nr1ahq4r6kn4rw60";
sha256 = "0b5pw17lzqknhijfymksvf8fm1zilppr97ypb31n599jw3mxf62f";
};
sqlsrv = buildPecl rec {