mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
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
|
||||
# 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";
|
||||
|
Loading…
Reference in New Issue
Block a user