phpPackages.apcu: 5.1.11 -> 5.1.15

This commit is contained in:
Izorkin
2018-12-11 20:11:30 +01:00
committed by Franz Pletz
parent 80f4d5d56a
commit c120d94071
+5 -3
View File
@@ -7,10 +7,12 @@ let
inherit (pkgs) stdenv autoreconfHook fetchurl; inherit (pkgs) stdenv autoreconfHook fetchurl;
}; };
isPhp73 = pkgs.lib.versionAtLeast php.version "7.3";
apcu = buildPecl { apcu = buildPecl {
name = "apcu-5.1.11"; name = "apcu-5.1.15";
sha256 = "0nz9m3fbxgyc2ij63yqmxm06a1f51g8rkxk85f85ziqdin66q2f1"; sha256 = "0v91fxh3z3amwicqlmz7lvnh4zfl2d7kj2zc8pvlvj2lms8ql5zc";
buildInputs = [ pkgs.pcre ]; buildInputs = [ (if isPhp73 then pkgs.pcre2 else pkgs.pcre) ];
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"]; checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"];