xapian-bindings: build against php56

xapian-bindings does not support php7, as SWIG doesn't support PHP 7.0
yet, according to https://xapian.org/docs/bindings/php/
This commit is contained in:
Graham Christensen 2016-03-31 13:32:27 -05:00
parent 2c0310d8d8
commit 2b462dc2ef
2 changed files with 6 additions and 5 deletions

View File

@ -24,8 +24,8 @@ composableDerivation.composableDerivation {} rec {
preConfigure = ''
export PYTHON_LIB=$out/lib/${python.libPrefix}/site-packages
mkdir -p $out/nix-support
echo "export NIX_PYTHON_SITES=\"$out:\$NIX_PYTHON_SITES\"" >> $out/nix-support/setup-hook
echo "export PYTHONPATH=\"$PYTHON_LIB:\$PYTHONPATH\"" >> $out/nix-support/setup-hook
echo "export NIX_PYTHON_SITES=\"$out:\$NIX_PYTHON_SITES\"" >> $out/nix-support/setup-hook
echo "export PYTHONPATH=\"$PYTHON_LIB:\$PYTHONPATH\"" >> $out/nix-support/setup-hook
'';
};
}
@ -46,8 +46,8 @@ composableDerivation.composableDerivation {} rec {
export RUBY_LIB=$out/${ruby.libPath}
export RUBY_LIB_ARCH=$RUBY_LIB
mkdir -p $out/nix-support
echo "export RUBYLIB=\"$RUBY_LIB:\$RUBYLIB\"" >> $out/nix-support/setup-hook
echo "export GEM_PATH=\"$out:\$GEM_PATH\"" >> $out/nix-support/setup-hook
echo "export RUBYLIB=\"$RUBY_LIB:\$RUBYLIB\"" >> $out/nix-support/setup-hook
echo "export GEM_PATH=\"$out:\$GEM_PATH\"" >> $out/nix-support/setup-hook
'';
};
}
@ -64,7 +64,7 @@ composableDerivation.composableDerivation {} rec {
rubySupport = true;
};
meta = {
meta = {
description = "Bindings for the Xapian library";
homepage = xapian.meta.homepage;
license = stdenv.lib.licenses.gpl2Plus;

View File

@ -9043,6 +9043,7 @@ in
xapian = callPackage ../development/libraries/xapian { };
xapianBindings = callPackage ../development/libraries/xapian/bindings { # TODO perl php Java, tcl, C#, python
php = php56;
};
xapian-omega = callPackage ../tools/misc/xapian-omega {};