2020-10-16 20:44:37 +00:00
|
|
|
{ buildPecl, lib, php }:
|
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "redis";
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "5.3.6";
|
|
|
|
sha256 = "sha256-/ilewmolIE5sB+jXFEIQ92e9cAiFhxnaIwQJ6z9vLgk=";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
internalDeps = with php.extensions; [
|
|
|
|
session
|
2020-12-03 08:41:04 +00:00
|
|
|
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
|
|
|
|
json
|
2020-10-16 20:44:37 +00:00
|
|
|
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
|
|
|
hash
|
|
|
|
];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
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
|
|
|
}
|