2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
php,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
let
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "6.0.2";
|
2024-05-15 15:35:15 +00:00
|
|
|
in
|
|
|
|
buildPecl {
|
2023-01-11 07:51:40 +00:00
|
|
|
inherit version;
|
2020-10-16 20:44:37 +00:00
|
|
|
pname = "redis";
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "phpredis";
|
|
|
|
owner = "phpredis";
|
|
|
|
rev = version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-Ie31zak6Rqxm2+jGXWg6KN4czHe9e+190jZRQ5VoB+M=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
internalDeps = with php.extensions; [ session ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "PHP extension for interfacing with Redis";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://github.com/phpredis/phpredis/";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|