2021-06-03 15:06:06 +02:00
|
|
|
{ buildPecl, lib, pcre2 }:
|
2020-10-11 17:32:19 +02:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "apcu";
|
|
|
|
|
2021-03-09 05:11:35 +01:00
|
|
|
version = "5.1.20";
|
|
|
|
sha256 = "sha256-uZ1A+v7Ab00TL87lPnUm3b/B0EHqbgThc4nfrSj5w5A=";
|
2020-10-11 17:32:19 +02:00
|
|
|
|
2021-06-03 15:06:06 +02:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-11 17:32:19 +02:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
checkFlagsArray = [ "REPORT_EXIT_STATUS=1" "NO_INTERACTION=1" ];
|
|
|
|
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-06-08 11:50:05 +02: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 17:32:19 +02:00
|
|
|
}
|