2021-06-06 07:54:09 +00:00
|
|
|
{ buildPecl, lib, pcre2 }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "apcu";
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "5.1.21";
|
|
|
|
sha256 = "sha256-EDNTBEhpbufK3shQUPbfUTX7EzAHLvKnRWk5Ks/s+8E=";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-16 20:44:37 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
checkFlagsArray = [ "REPORT_EXIT_STATUS=1" "NO_INTERACTION=1" ];
|
|
|
|
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-06-28 23:13:55 +00: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-16 20:44:37 +00:00
|
|
|
}
|