2023-01-11 07:51:40 +00:00
|
|
|
{ buildPecl, lib, php, fetchFromGitHub }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
let
|
|
|
|
version = "5.3.7";
|
|
|
|
in buildPecl {
|
|
|
|
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;
|
|
|
|
sha256 = "sha256-Cc9Mtx28j3kpyV8Yq+JSYQt5XQnELaVjuUbkkbG45kw=";
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
internalDeps = with php.extensions; [
|
|
|
|
session
|
|
|
|
];
|
|
|
|
|
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
|
|
|
}
|