1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

phpExtensions.apcu_bc: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 17:33:23 +02:00
parent 0fc9ac20fe
commit bf5ca6bbf3
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F
2 changed files with 19 additions and 18 deletions

View file

@ -0,0 +1,18 @@
{ buildPecl, lib, pcre', php }:
buildPecl {
pname = "apcu_bc";
version = "1.0.5";
sha256 = "0ma00syhk2ps9k9p02jz7rii6x3i2p986il23703zz5npd6y9n20";
peclDeps = [ php.extensions.apcu ];
buildInputs = [ pcre' ];
postInstall = ''
mv $out/lib/php/extensions/apc.so $out/lib/php/extensions/apcu_bc.so
'';
meta.maintainers = lib.teams.php.members;
}

View file

@ -64,24 +64,7 @@ in
extensions = {
apcu = callPackage ../development/php-packages/apcu { };
apcu_bc = buildPecl {
version = "1.0.5";
pname = "apcu_bc";
sha256 = "0ma00syhk2ps9k9p02jz7rii6x3i2p986il23703zz5npd6y9n20";
peclDeps = [ php.extensions.apcu ];
buildInputs = [
pcre'
];
postInstall = ''
mv $out/lib/php/extensions/apc.so $out/lib/php/extensions/apcu_bc.so
'';
meta.maintainers = lib.teams.php.members;
};
apcu_bc = callPackage ../development/php-packages/apcu_bc { };
ast = buildPecl {
version = "1.0.5";