2020-10-11 17:53:07 +00:00
|
|
|
{ buildPecl, lib, php }:
|
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "redis";
|
|
|
|
|
2021-06-08 10:46:26 +00:00
|
|
|
version = "5.3.4";
|
|
|
|
sha256 = "1k5l7xxb06rlwq9jbmbbr03pc74d75vgv7h5bqjkbwan6dphafab";
|
2020-10-11 17:53:07 +00:00
|
|
|
|
|
|
|
internalDeps = with php.extensions; [
|
|
|
|
session
|
2020-12-01 09:45:31 +00:00
|
|
|
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
|
|
|
|
json
|
2020-10-11 17:53:07 +00:00
|
|
|
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
|
|
|
hash
|
|
|
|
];
|
|
|
|
|
2021-06-08 09:50:05 +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-11 17:53:07 +00:00
|
|
|
}
|