nixpkgs/pkgs/development/php-packages/redis/default.nix
2020-12-01 11:54:44 +01:00

18 lines
389 B
Nix

{ buildPecl, lib, php }:
buildPecl {
pname = "redis";
version = "5.3.2";
sha256 = "1cfsbxf3q3im0cmalgk76jpz581zr92z03c1viy93jxb53k2vsgl";
internalDeps = with php.extensions; [
session
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
json
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
hash
];
meta.maintainers = lib.teams.php.members;
}