phpPackages.apcu: 5.1.11 -> 5.1.15

This commit is contained in:
Izorkin 2018-12-10 17:33:53 +03:00 committed by Franz Pletz
parent 80f4d5d56a
commit c120d94071
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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"];