Merge pull request #275887 from drupol/bump/php/december-2023

php: 8.1.27, 8.2.14, 8.3.1
This commit is contained in:
Pol Dellaiera 2023-12-26 00:02:10 +01:00 committed by GitHub
commit 32ea06b235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 17 deletions

View file

@ -2,10 +2,9 @@
let let
base = callPackage ./generic.nix (_args // { base = callPackage ./generic.nix (_args // {
version = "8.1.26"; version = "8.1.27";
hash = "sha256-g73iSchKoaBDqMjQ7qCTRcLK5puXhM3wIin8kW+7nqA="; hash = "sha256-oV/XPqRPLfMLB9JHhuB9GUiw6j7tC4uEVzXVANwov/E=";
}); });
in in
base.withExtensions ({ all, ... }: with all; ([ base.withExtensions ({ all, ... }: with all; ([
bcmath bcmath

View file

@ -2,10 +2,9 @@
let let
base = callPackage ./generic.nix (_args // { base = callPackage ./generic.nix (_args // {
version = "8.2.13"; version = "8.2.14";
hash = "sha256-ZlKfQ7ITEx5rJTxWAr7wXwSUWNISknMPzNY7SKBtZ7o="; hash = "sha256-+HHhMTM9YK5sU3sa3dvCrqVMQ2xWKvmG+4MJwGAEC54=";
}); });
in in
base.withExtensions ({ all, ... }: with all; ([ base.withExtensions ({ all, ... }: with all; ([
bcmath bcmath

View file

@ -1,9 +1,9 @@
{ callPackage, fetchurl, ... }@_args: { callPackage, ... }@_args:
let let
base = callPackage ./generic.nix (_args // { base = callPackage ./generic.nix (_args // {
version = "8.3.0"; version = "8.3.1";
hash = "sha256-3mfQgz1CsZblpm+hozL0Xilsvo6UcuklayoHHDTcXtY="; hash = "sha256-xA+ukZf6aKUy9qBiwxba/jsExUUTa1S56tSTL8JsauE=";
}); });
in in
base.withExtensions ({ all, ... }: with all; ([ base.withExtensions ({ all, ... }: with all; ([

View file

@ -13,13 +13,6 @@ in buildPecl {
sha256 = "sha256-UDKLLCCnYJj/lCD8ZkkDf2WYZMoIbcP75+0/IXo4vdQ="; sha256 = "sha256-UDKLLCCnYJj/lCD8ZkkDf2WYZMoIbcP75+0/IXo4vdQ=";
}; };
patches = lib.optionals (lib.versionAtLeast php.version "8.3") [
(fetchpatch {
url = "https://github.com/krakjoe/apcu/commit/c9a29161c68c0faf71046e8f03f6a90900023ded.patch";
hash = "sha256-B0ZKk9TJy2+sYGs7TEX2KxUiOVawIb+RXNgToU1Fz5I=";
})
];
buildInputs = [ pcre2 ]; buildInputs = [ pcre2 ];
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
@ -30,8 +23,8 @@ in buildPecl {
meta = with lib; { meta = with lib; {
changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}"; changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}";
description = "Userland cache for PHP"; description = "Userland cache for PHP";
license = licenses.php301;
homepage = "https://pecl.php.net/package/APCu"; homepage = "https://pecl.php.net/package/APCu";
license = licenses.php301;
maintainers = teams.php.members; maintainers = teams.php.members;
}; };
} }