Unverified Commit 32ea06b2 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

php: 8.1.27, 8.2.14, 8.3.1
parents 5494aa21 2100a51e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2,10 +2,9 @@

let
  base = callPackage ./generic.nix (_args // {
    version = "8.1.26";
    hash = "sha256-g73iSchKoaBDqMjQ7qCTRcLK5puXhM3wIin8kW+7nqA=";
    version = "8.1.27";
    hash = "sha256-oV/XPqRPLfMLB9JHhuB9GUiw6j7tC4uEVzXVANwov/E=";
  });

in
base.withExtensions ({ all, ... }: with all; ([
  bcmath
+2 −3
Original line number Diff line number Diff line
@@ -2,10 +2,9 @@

let
  base = callPackage ./generic.nix (_args // {
    version = "8.2.13";
    hash = "sha256-ZlKfQ7ITEx5rJTxWAr7wXwSUWNISknMPzNY7SKBtZ7o=";
    version = "8.2.14";
    hash = "sha256-+HHhMTM9YK5sU3sa3dvCrqVMQ2xWKvmG+4MJwGAEC54=";
  });

in
base.withExtensions ({ all, ... }: with all; ([
  bcmath
+3 −3
Original line number Diff line number Diff line
{ callPackage, fetchurl, ... }@_args:
{ callPackage, ... }@_args:

let
  base = callPackage ./generic.nix (_args // {
    version = "8.3.0";
    hash = "sha256-3mfQgz1CsZblpm+hozL0Xilsvo6UcuklayoHHDTcXtY=";
    version = "8.3.1";
    hash = "sha256-xA+ukZf6aKUy9qBiwxba/jsExUUTa1S56tSTL8JsauE=";
  });
in
base.withExtensions ({ all, ... }: with all; ([
+1 −8
Original line number Diff line number Diff line
@@ -13,13 +13,6 @@ in buildPecl {
    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 ];
  doCheck = true;
  checkTarget = "test";
@@ -30,8 +23,8 @@ in buildPecl {
  meta = with lib; {
    changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}";
    description = "Userland cache for PHP";
    license = licenses.php301;
    homepage = "https://pecl.php.net/package/APCu";
    license = licenses.php301;
    maintainers = teams.php.members;
  };
}