Merge pull request #108904 from aanderse/php-oci8

php80.extensions.oci8: 2.2.0 -> 3.0.1
This commit is contained in:
Elis Hirwing 2021-01-10 14:23:09 +01:00 committed by GitHub
commit 58d897e812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";
});
pdlib = callPackage ../development/php-packages/pdlib { };