Merge pull request #80563 from aanderse/phpPackages.pdo_oci
phpPackages.pdo_oci: init
This commit is contained in:
commit
43a775649c
1 changed files with 14 additions and 0 deletions
|
@ -287,6 +287,20 @@ let
|
|||
meta.broken = isPhp74; # Build error
|
||||
};
|
||||
|
||||
pdo_oci = buildPecl rec {
|
||||
inherit (php) src version;
|
||||
|
||||
pname = "pdo_oci";
|
||||
sourceRoot = "php-${version}/ext/pdo_oci";
|
||||
|
||||
buildInputs = [ pkgs.oracle-instantclient ];
|
||||
configureFlags = [ "--with-pdo-oci=instantclient,${pkgs.oracle-instantclient.lib}/lib" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
|
||||
'';
|
||||
};
|
||||
|
||||
pdo_sqlsrv = buildPecl {
|
||||
version = "5.8.0";
|
||||
pname = "pdo_sqlsrv";
|
||||
|
|
Loading…
Reference in a new issue