Skip to content

Commit

Permalink
phpExtensions.redis: 6.0.2 -> 6.1.0 (#365053)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Dec 15, 2024
2 parents f7648a7 + dee4613 commit ec74525
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions pkgs/development/php-packages/redis/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
lib,
php,
fetchFromGitHub,
fetchpatch,
}:

let
version = "6.0.2";
version = "6.1.0";
in
buildPecl {
inherit version;
Expand All @@ -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; {
Expand Down

0 comments on commit ec74525

Please sign in to comment.