2021-06-06 07:54:09 +00:00
|
|
|
{ buildPecl, lib, pcre2, php }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "apcu_bc";
|
|
|
|
|
|
|
|
version = "1.0.5";
|
|
|
|
sha256 = "0ma00syhk2ps9k9p02jz7rii6x3i2p986il23703zz5npd6y9n20";
|
|
|
|
|
|
|
|
peclDeps = [ php.extensions.apcu ];
|
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/lib/php/extensions/apc.so $out/lib/php/extensions/apcu_bc.so
|
|
|
|
'';
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "APCu Backwards Compatibility Module";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://pecl.php.net/package/apcu_bc";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
broken = versionAtLeast php.version "8";
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|