diff options
Diffstat (limited to 'pkgs/development/php-packages/apcu/default.nix')
-rw-r--r-- | pkgs/development/php-packages/apcu/default.nix | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/pkgs/development/php-packages/apcu/default.nix b/pkgs/development/php-packages/apcu/default.nix index 9aec7d6607630..9cfe9b96cf34d 100644 --- a/pkgs/development/php-packages/apcu/default.nix +++ b/pkgs/development/php-packages/apcu/default.nix @@ -1,8 +1,14 @@ -{ buildPecl, lib, pcre2, fetchFromGitHub, php, fetchpatch }: +{ + buildPecl, + lib, + pcre2, + fetchFromGitHub, +}: let version = "5.1.23"; -in buildPecl { +in +buildPecl { inherit version; pname = "apcu"; @@ -16,9 +22,15 @@ in buildPecl { buildInputs = [ pcre2 ]; doCheck = true; checkTarget = "test"; - checkFlagsArray = [ "REPORT_EXIT_STATUS=1" "NO_INTERACTION=1" ]; + checkFlagsArray = [ + "REPORT_EXIT_STATUS=1" + "NO_INTERACTION=1" + ]; makeFlags = [ "phpincludedir=$(dev)/include" ]; - outputs = [ "out" "dev" ]; + outputs = [ + "out" + "dev" + ]; meta = with lib; { changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}"; |