2020-10-16 20:44:37 +00:00
|
|
|
{ buildPecl, lib, php }:
|
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "redis";
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "5.3.4";
|
|
|
|
sha256 = "1k5l7xxb06rlwq9jbmbbr03pc74d75vgv7h5bqjkbwan6dphafab";
|
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
|
|
|
}
|