phpPackages.pdo_oci: init
This commit is contained in:
parent
af1fffab5b
commit
d0e817f63f
|
@ -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