php: Remove fixes for abandoned PHP versions

This commit is contained in:
Pol Dellaiera 2022-05-15 19:08:40 +02:00
parent 34e4df5566
commit 47c4c68fdf
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
5 changed files with 0 additions and 8 deletions

View File

@ -13,8 +13,6 @@ buildPecl rec {
internalDeps = [ internalDeps = [
php.extensions.session php.extensions.session
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
php.extensions.hash
]; ];
configureFlags = [ configureFlags = [

View File

@ -9,7 +9,6 @@ buildPecl {
sha256 = "sha256-Rhoa4ny86dwB3e86/1W30AlDGRUDYjK8RusquKF5Izg="; sha256 = "sha256-Rhoa4ny86dwB3e86/1W30AlDGRUDYjK8RusquKF5Izg=";
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ]; buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
meta = with lib; { meta = with lib; {
changelog = "https://pecl.php.net/package/openswoole/${version}"; changelog = "https://pecl.php.net/package/openswoole/${version}";

View File

@ -10,8 +10,6 @@ buildPecl {
session session
] ++ lib.optionals (lib.versionOlder php.version "8.0") [ ] ++ lib.optionals (lib.versionOlder php.version "8.0") [
json json
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
hash
]; ];
meta = with lib; { meta = with lib; {

View File

@ -22,8 +22,6 @@ buildPecl rec {
internalDeps = with php.extensions; [ internalDeps = with php.extensions; [
session session
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
hash
]; ];
patches = [ patches = [

View File

@ -7,7 +7,6 @@ buildPecl {
sha256 = "sha256-SnhDRC7/a7BTHn87c6YCz/R8jI6aES1ibSD6YAl6R+I="; sha256 = "sha256-SnhDRC7/a7BTHn87c6YCz/R8jI6aES1ibSD6YAl6R+I=";
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ]; buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
doCheck = true; doCheck = true;
checkTarget = "tests"; checkTarget = "tests";