Merge pull request #44435 from aanderse/pecl-oci8

php*Packages.oci8: init at 2.1.8
This commit is contained in:
Silvan Mosberger 2018-08-05 23:29:19 +02:00 committed by GitHub
commit e10db2f676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,9 @@ in stdenv.mkDerivation rec {
install -Dm644 *.jar $out/share/java
install -Dm644 sdk/include/* $out/include
install -Dm644 sdk/demo/* $out/share/${name}/demo
# PECL::oci8 will not build without this
ln -s $out/lib/libclntsh.so.12.1 $out/lib/libclntsh.so
'';
meta = with stdenv.lib; {

View File

@ -160,6 +160,13 @@ let
buildInputs = with pkgs; [ cyrus_sasl zlib ];
};
oci8 = buildPecl rec {
name = "oci8-2.1.8";
sha256 = "1bp6fss2f2qmd5bdk7x22j8vx5qivrdhz4x7csf29vjgj6gvchxy";
buildInputs = [ pkgs.re2c pkgs.oracle-instantclient ];
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient}/lib" ];
};
pcs = buildPecl rec {
name = "pcs-1.3.3";