Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
30 lines
762 B
Nix
30 lines
762 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
oracle-instantclient,
|
|
php,
|
|
}:
|
|
|
|
buildPecl {
|
|
version = "1.1.0";
|
|
pname = "pdo_oci";
|
|
|
|
hash = "sha256-XKtpWH6Rn8s19Wlu15eb/6dcCpJ7Bc/pr9Pxi8L4S8c=";
|
|
|
|
buildInputs = [ oracle-instantclient ];
|
|
configureFlags = [ "--with-pdo-oci=instantclient,${oracle-instantclient.lib}/lib" ];
|
|
|
|
internalDeps = [ php.extensions.pdo ];
|
|
postPatch = ''
|
|
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${oracle-instantclient.dev}/include"|' config.m4
|
|
'';
|
|
|
|
meta = {
|
|
changelog = "https://pecl.php.net/package-changelog.php?package=PDO_OCI";
|
|
description = "PHP PDO_OCI extension lets you access Oracle Database";
|
|
license = lib.licenses.php301;
|
|
homepage = "https://pecl.php.net/package/pdo_oci";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
}
|