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:
parent
0fc9ac20fe
commit
bf5ca6bbf3
18
pkgs/development/php-packages/apcu_bc/default.nix
Normal file
18
pkgs/development/php-packages/apcu_bc/default.nix
Normal 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;
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue