php.extensions.oci8: Drop 2.2.0 for older PHP packages

This commit is contained in:
Elis Hirwing 2022-05-25 18:56:23 +02:00
parent 506bcd905e
commit 42b3cedbb5
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F
2 changed files with 6 additions and 8 deletions

View file

@ -1,4 +1,8 @@
{ buildPecl, lib, version, sha256, oracle-instantclient }: { buildPecl, lib, oracle-instantclient }:
let
version = "3.0.1";
sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914";
in
buildPecl { buildPecl {
pname = "oci8"; pname = "oci8";

View file

@ -224,13 +224,7 @@ lib.makeScope pkgs.newScope (self: with self; {
mongodb = callPackage ../development/php-packages/mongodb { }; 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";
});
openswoole = callPackage ../development/php-packages/openswoole { }; openswoole = callPackage ../development/php-packages/openswoole { };