From dee4613470bf137fbe749b5efcaf8dae899b71cd Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sat, 14 Dec 2024 00:32:09 +0100 Subject: [PATCH] phpExtensions.redis: 6.0.2 -> 6.1.0 Changes: https://github.com/phpredis/phpredis/releases/tag/6.1.0 --- .../php-packages/redis/default.nix | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/pkgs/development/php-packages/redis/default.nix b/pkgs/development/php-packages/redis/default.nix index ddb25c8db88b8..9a2cd72879c2c 100644 --- a/pkgs/development/php-packages/redis/default.nix +++ b/pkgs/development/php-packages/redis/default.nix @@ -3,11 +3,10 @@ lib, php, fetchFromGitHub, - fetchpatch, }: let - version = "6.0.2"; + version = "6.1.0"; in buildPecl { inherit version; @@ -17,29 +16,9 @@ buildPecl { repo = "phpredis"; owner = "phpredis"; rev = version; - hash = "sha256-Ie31zak6Rqxm2+jGXWg6KN4czHe9e+190jZRQ5VoB+M="; + hash = "sha256-zuvdWBJl6vBDnIAR0txfar1+c06VqGnwtobZnxok2uU="; }; - patches = [ - # Fix build with PHP 8.4. - (fetchpatch { - url = "https://github.com/phpredis/phpredis/commit/a51215ce2b22bcd1f506780c35b6833471e0b8cb.patch"; - hash = "sha256-DoGPMyuI/IZdF+8jG5faoyG2aM+WDz0obH6S7HoOMX8="; - }) - - # Fix warning on Darwin. - (fetchpatch { - url = "https://github.com/phpredis/phpredis/commit/7de29d57d919f835f902f87a83312ed2549c1a13.patch"; - hash = "sha256-INsSQTwcHQhQiqplAYQGS4zAtaIHWABG61MxnPCsrUM="; - }) - - # Fix build on Darwin. - (fetchpatch { - url = "https://github.com/phpredis/phpredis/commit/c139de3abac1dd33b97ef0de5af41b6e3a78f7ab.patch"; - hash = "sha256-jM9N4ktGU5KAk81sZZJQmzV7y//39nVnfc52KqIvfpU="; - }) - ]; - internalDeps = with php.extensions; [ session ]; meta = with lib; {