mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
Adding php APC
svn path=/nixpkgs/trunk/; revision=26841
This commit is contained in:
parent
918f68b99a
commit
41e1640b1f
26
pkgs/development/libraries/php-apc/default.nix
Normal file
26
pkgs/development/libraries/php-apc/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{stdenv, fetchurl, php, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "php-apc-3.1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://pecl.php.net/get/APC-3.1.7.tgz;
|
||||
sha256 = "0xlvhw5398sl5zzkjm4rkk1m3fcra30zkq0k4i6fij0ylpd6nlls";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
phpize
|
||||
|
||||
sed -i 's,^EXTENSION_DIR.*,'EXTENSION_DIR=$out/lib/php/extensions, configure
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-apc" "--enable-apc-mmap" ];
|
||||
|
||||
buildInputs = [ php autoconf automake libtool ];
|
||||
|
||||
meta = {
|
||||
description = "Alternative PHP Cache";
|
||||
homepage = "http://pecl.php.net/package/APC";
|
||||
license = "PHP+";
|
||||
};
|
||||
}
|
@ -2367,6 +2367,8 @@ let
|
||||
zlib curl gd postgresql openssl pkgconfig sqlite getConfig libiconv libjpeg libpng;
|
||||
};
|
||||
|
||||
php_apc = callPackage ../development/libraries/php-apc { };
|
||||
|
||||
phpXdebug = callPackage ../development/interpreters/php-xdebug { };
|
||||
|
||||
picolisp = callPackage ../development/interpreters/picolisp {};
|
||||
|
Loading…
Reference in New Issue
Block a user