depot/third_party/nixpkgs/pkgs/development/php-packages/redis/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

21 lines
487 B
Nix

{ buildPecl, lib, php }:
buildPecl {
pname = "redis";
version = "5.3.7";
sha256 = "sha256-uVgWbM2k9AvRfGmY+eIjkCGuZERnzYrVwV3vQgqtZbA=";
internalDeps = with php.extensions; [
session
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
json
];
meta = with lib; {
description = "PHP extension for interfacing with Redis";
license = licenses.php301;
homepage = "https://github.com/phpredis/phpredis/";
maintainers = teams.php.members;
};
}