summary refs log blame commit diff
path: root/pkgs/development/php-packages/redis/default.nix
blob: e4b16dd991a72138a5cb4a678ed1a81cb4880160 (plain) (tree)
1
2
3
4
5
6
7
8
9




                        

                                                                 

                                       
           

                                                           

    





                                                             
 
{ 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;
  };
}