75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
15 lines
419 B
Nix
15 lines
419 B
Nix
{ buildPecl, lib, version, sha256, oracle-instantclient }:
|
|
buildPecl {
|
|
pname = "oci8";
|
|
|
|
inherit version sha256;
|
|
|
|
buildInputs = [ oracle-instantclient ];
|
|
configureFlags = [ "--with-oci8=shared,instantclient,${oracle-instantclient.lib}/lib" ];
|
|
|
|
postPatch = ''
|
|
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${oracle-instantclient.dev}/include"|' config.m4
|
|
'';
|
|
|
|
meta.maintainers = lib.teams.php.members;
|
|
}
|