From c120d940717eb70ff561ac0b1ad9fcd65aea64cf Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 10 Dec 2018 17:33:53 +0300 Subject: [PATCH] phpPackages.apcu: 5.1.11 -> 5.1.15 --- pkgs/top-level/php-packages.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 273592428e03..a6357a50a73c 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -7,10 +7,12 @@ let inherit (pkgs) stdenv autoreconfHook fetchurl; }; + isPhp73 = pkgs.lib.versionAtLeast php.version "7.3"; + apcu = buildPecl { - name = "apcu-5.1.11"; - sha256 = "0nz9m3fbxgyc2ij63yqmxm06a1f51g8rkxk85f85ziqdin66q2f1"; - buildInputs = [ pkgs.pcre ]; + name = "apcu-5.1.15"; + sha256 = "0v91fxh3z3amwicqlmz7lvnh4zfl2d7kj2zc8pvlvj2lms8ql5zc"; + buildInputs = [ (if isPhp73 then pkgs.pcre2 else pkgs.pcre) ]; doCheck = true; checkTarget = "test"; checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"];