2021-06-03 14:06:06 +01:00
|
|
|
{ buildPecl, lib, pcre2 }:
|
2020-10-11 16:32:19 +01:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "apcu";
|
|
|
|
|
2021-03-09 04:11:35 +00:00
|
|
|
version = "5.1.20";
|
|
|
|
sha256 = "sha256-uZ1A+v7Ab00TL87lPnUm3b/B0EHqbgThc4nfrSj5w5A=";
|
2020-10-11 16:32:19 +01:00
|
|
|
|
2021-06-03 14:06:06 +01:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-11 16:32:19 +01:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
checkFlagsArray = [ "REPORT_EXIT_STATUS=1" "NO_INTERACTION=1" ];
|
|
|
|
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-06-08 10:50:05 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Userland cache for PHP";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://pecl.php.net/package/APCu";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-11 16:32:19 +01:00
|
|
|
}
|