mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
24 lines
557 B
Nix
24 lines
557 B
Nix
{ buildPecl, lib, php }:
|
|
|
|
buildPecl {
|
|
pname = "redis";
|
|
|
|
version = "5.3.4";
|
|
sha256 = "1k5l7xxb06rlwq9jbmbbr03pc74d75vgv7h5bqjkbwan6dphafab";
|
|
|
|
internalDeps = with php.extensions; [
|
|
session
|
|
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
|
|
json
|
|
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
|
hash
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "PHP extension for interfacing with Redis";
|
|
license = licenses.php301;
|
|
homepage = "https://github.com/phpredis/phpredis/";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|