mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
phpExtensions.redis: 6.0.2 -> 6.1.0
Changes: https://github.com/phpredis/phpredis/releases/tag/6.1.0
This commit is contained in:
parent
921140e5b7
commit
dee4613470
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user