Unverified Commit 18a939c7 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge: phpExtensions: update (#440080)

parents a9ceda5d 93d4f4db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
}:

let
  version = "5.1.26";
  version = "5.1.27";
in
buildPecl {
  inherit version;
@@ -16,7 +16,7 @@ buildPecl {
    owner = "krakjoe";
    repo = "apcu";
    rev = "v${version}";
    sha256 = "sha256-zJTrFckl7caKAF5/IL9RpVhbwsFZiol6w2GVpNdDdPg=";
    sha256 = "sha256-kf1d+WLpwhzQVn9pnkXtPPTXI5XaAuIAReI6rDGypB8=";
  };

  buildInputs = [ pcre2 ];
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@
buildPecl {
  pname = "event";

  version = "3.0.8";
  sha256 = "sha256-4+ke3T3BXglpuSVMw2Jq4Hgl45vybWG0mTX2b2A9e2s=";
  version = "3.1.4";
  sha256 = "sha256-XEyqc7wtzu4xCS/5GSE53yjpqA8RR63g3+hp2y5N39M=";

  configureFlags = [
    "--with-event-libevent-dir=${libevent.dev}"
+2 −12
Original line number Diff line number Diff line
@@ -11,23 +11,13 @@
buildPecl {
  pname = "imagick";

  version = "3.7.0";
  sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";
  version = "3.8.0";
  sha256 = "sha256-vaZ0YchU8g1hBXgrdpxST8NziLddRIHZUWRNIWf/7sY=";

  configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ pcre2 ];

  patches = lib.optionals (lib.versionAtLeast php.version "8.4") [
    # PHP 8.4 compatibility patch based on https://github.com/Imagick/imagick/pull/690
    # These is also an alternative https://github.com/Imagick/imagick/pull/704
    # Which includes more changes but doesn't apply cleanly.
    (fetchpatch {
      url = "https://github.com/Imagick/imagick/commit/65e27f2bc02e7e8f1bf64e26e359e42a1331fca1.patch";
      hash = "sha256-I0FwdqtQ/Y/QVkCl+nWPBIxsdQY6qcjdwiA/BaLNl7g=";
    })
  ];

  meta = with lib; {
    description = "Imagick is a native php extension to create and modify images using the ImageMagick API";
    license = licenses.php301;
+2 −2
Original line number Diff line number Diff line
{ buildPecl, lib }:

buildPecl rec {
  version = "2.2.0";
  version = "3.0.0";
  pname = "msgpack";

  sha256 = "sha256-gqoeQExf9U7EHSogEwXNZZTtFKdSnpEZ+nykV+S70So=";
  sha256 = "sha256-VTBqhHl9OZxrJpGB7EhGNPGL6hMwu9nXQFBDxZfeac0=";

  meta = {
    changelog = "https://pecl.php.net/package-info.php?package=msgpack&version=${version}";
+2 −2
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@

buildPecl {
  pname = "rdkafka";
  version = "6.0.4";
  hash = "sha256-DZc5YxOjFnruSZqVFtqFzKJa+Y5fS1XaxVVBAJvzWlk=";
  version = "6.0.5";
  hash = "sha256-Cva2ZcljyMfREJzsc4A0N42ciGPL9hLAvTI15RmnCPE=";

  buildInputs = [
    rdkafka
Loading