php80.extensions.oci8: 2.2.0 -> 3.0.1

This commit is contained in:
Aaron Andersen 2021-01-09 20:06:20 -05:00
parent 25fc7dc36f
commit b929911380
2 changed files with 9 additions and 5 deletions

View File

@ -1,10 +1,8 @@
{ buildPecl, lib, pkgs }:
{ buildPecl, lib, pkgs, version, sha256 }:
buildPecl {
pname = "oci8";
version = "2.2.0";
sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
inherit version sha256;
buildInputs = [ pkgs.oracle-instantclient ];
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient.lib}/lib" ];

View File

@ -78,7 +78,13 @@ lib.makeScope pkgs.newScope (self: with self; {
mongodb = callPackage ../development/php-packages/mongodb { };
oci8 = callPackage ../development/php-packages/oci8 { };
oci8 = callPackage ../development/php-packages/oci8 ({
version = "2.2.0";
sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
} // lib.optionalAttrs (lib.versionAtLeast php.version "8.0") {
version = "3.0.1";
sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914";
});
pcov = callPackage ../development/php-packages/pcov { };