3
0
Fork 0
forked from mirrors/nixpkgs

Updating php 5.3 and adding php-xcache.

svn path=/nixpkgs/trunk/; revision=27056
This commit is contained in:
Lluís Batlle i Rossell 2011-04-29 21:01:09 +00:00
parent 50f03dbf20
commit 5bd133b65c
3 changed files with 32 additions and 2 deletions

View file

@ -8,7 +8,7 @@ in
composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
version = "5.3.4";
version = "5.3.6";
name = "php_configurable-${version}";
@ -151,7 +151,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
src = args.fetchurl {
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
sha256 = "1391yibyc7kcrnprv6g57s2m6ld6n9j2iybzvwd2srdihl8q6cm8";
sha256 = "161iimjsnbvzqbf6chxv778n8qqdig2y704vrkn97vp3487qibih";
name = "php-${version}.tar.bz2";
};

View file

@ -0,0 +1,28 @@
{stdenv, fetchurl, php, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
name = "php-xcache-1.3.1";
src = fetchurl {
url = http://xcache.lighttpd.net/pub/Releases/1.3.1/xcache-1.3.1.tar.bz2;
sha256 = "16qj6hns7frs655k2vg9dabnk28085hf6qxhr9dybw6ja5aj24g3";
};
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 = "Fast, stable PHP opcode cacher";
homepage = http://xcache.lighttpd.net/;
license = "BSD";
};
}

View file

@ -2373,6 +2373,8 @@ let
php_apc = callPackage ../development/libraries/php-apc { };
php_xcache = callPackage ../development/libraries/php-xcache { };
phpXdebug = callPackage ../development/interpreters/php-xdebug { };
picolisp = callPackage ../development/interpreters/picolisp {};