phpExtensions.apcu: Move to separate directory

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

View 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;
}

View File

@ -62,21 +62,7 @@ in
# or php.withExtensions to extend the functionality of the PHP
# interpreter.
extensions = {
apcu = buildPecl {
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 = callPackage ../development/php-packages/apcu { };
apcu_bc = buildPecl {
version = "1.0.5";