phpExtensions.apcu: Move to separate directory
This commit is contained in:
parent
f688b895f9
commit
0fc9ac20fe
17
pkgs/development/php-packages/apcu/default.nix
Normal file
17
pkgs/development/php-packages/apcu/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ buildPecl, lib, pcre' }:
|
||||||
|
|
||||||
|
buildPecl {
|
||||||
|
pname = "apcu";
|
||||||
|
|
||||||
|
version = "5.1.18";
|
||||||
|
sha256 = "0ayykd4hfvdzk7qnr5k6yq5scwf6rb2i05xscfv76q5dmkkynvfl";
|
||||||
|
|
||||||
|
buildInputs = [ pcre' ];
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
checkFlagsArray = [ "REPORT_EXIT_STATUS=1" "NO_INTERACTION=1" ];
|
||||||
|
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
meta.maintainers = lib.teams.php.members;
|
||||||
|
}
|
@ -62,21 +62,7 @@ in
|
|||||||
# or php.withExtensions to extend the functionality of the PHP
|
# or php.withExtensions to extend the functionality of the PHP
|
||||||
# interpreter.
|
# interpreter.
|
||||||
extensions = {
|
extensions = {
|
||||||
apcu = buildPecl {
|
apcu = callPackage ../development/php-packages/apcu { };
|
||||||
version = "5.1.18";
|
|
||||||
pname = "apcu";
|
|
||||||
|
|
||||||
sha256 = "0ayykd4hfvdzk7qnr5k6yq5scwf6rb2i05xscfv76q5dmkkynvfl";
|
|
||||||
|
|
||||||
buildInputs = [ pcre' ];
|
|
||||||
doCheck = true;
|
|
||||||
checkTarget = "test";
|
|
||||||
checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"];
|
|
||||||
makeFlags = [ "phpincludedir=$(dev)/include" ];
|
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
meta.maintainers = lib.teams.php.members;
|
|
||||||
};
|
|
||||||
|
|
||||||
apcu_bc = buildPecl {
|
apcu_bc = buildPecl {
|
||||||
version = "1.0.5";
|
version = "1.0.5";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user