mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
php: Remove fixes for abandoned PHP versions
This commit is contained in:
parent
34e4df5566
commit
47c4c68fdf
@ -13,8 +13,6 @@ buildPecl rec {
|
||||
|
||||
internalDeps = [
|
||||
php.extensions.session
|
||||
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
||||
php.extensions.hash
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
|
@ -9,7 +9,6 @@ buildPecl {
|
||||
sha256 = "sha256-Rhoa4ny86dwB3e86/1W30AlDGRUDYjK8RusquKF5Izg=";
|
||||
|
||||
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
||||
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://pecl.php.net/package/openswoole/${version}";
|
||||
|
@ -10,8 +10,6 @@ buildPecl {
|
||||
session
|
||||
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
|
||||
json
|
||||
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
||||
hash
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -22,8 +22,6 @@ buildPecl rec {
|
||||
|
||||
internalDeps = with php.extensions; [
|
||||
session
|
||||
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
||||
hash
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
@ -7,7 +7,6 @@ buildPecl {
|
||||
sha256 = "sha256-SnhDRC7/a7BTHn87c6YCz/R8jI6aES1ibSD6YAl6R+I=";
|
||||
|
||||
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
||||
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "tests";
|
||||
|
Loading…
Reference in New Issue
Block a user