1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/development/libraries/php-xcache/default.nix

34 lines
785 B
Nix
Raw Normal View History

{stdenv, fetchurl, php, autoconf, automake, libtool, m4 }:
stdenv.mkDerivation rec {
2013-05-16 15:26:54 +01:00
name = "php-xcache-3.0.1";
src = fetchurl {
2013-05-16 15:26:54 +01:00
url = http://xcache.lighttpd.net/pub/Releases/3.0.1/xcache-3.0.1.tar.bz2;
md5 = "45086010bc4f82f506c08be1c556941b";
};
preConfigure = ''
phpize
sed -i 's,^EXTENSION_DIR.*,'EXTENSION_DIR=$out/lib/php/extensions, configure
'';
configureFlags = [
"--enable-xcache"
"--enable-xcache-coverager"
"--enable-xcache-optimizer"
"--enable-xcache-assembler"
"--enable-xcache-encoder"
"--enable-xcache-decoder"
];
buildInputs = [ php autoconf automake libtool m4 ];
meta = {
description = "Fast, stable PHP opcode cacher";
homepage = http://xcache.lighttpd.net/;
license = "BSD";
};
}