nixpkgs/pkgs/development/php-packages/redis/default.nix

24 lines
557 B
Nix
Raw Normal View History

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