phpExtensions.redis: Move to separate directory
This commit is contained in:
parent
80ba7d0c87
commit
f5a4a96fad
17
pkgs/development/php-packages/redis/default.nix
Normal file
17
pkgs/development/php-packages/redis/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ buildPecl, lib, php }:
|
||||
|
||||
buildPecl {
|
||||
pname = "redis";
|
||||
|
||||
version = "5.1.1";
|
||||
sha256 = "1041zv91fkda73w4c3pj6zdvwjgb3q7mxg6mwnq9gisl80mrs732";
|
||||
|
||||
internalDeps = with php.extensions; [
|
||||
json
|
||||
session
|
||||
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
||||
hash
|
||||
];
|
||||
|
||||
meta.maintainers = lib.teams.php.members;
|
||||
}
|
@ -132,20 +132,7 @@ in
|
||||
|
||||
rdkafka = callPackage ../development/php-packages/rdkafka { };
|
||||
|
||||
redis = buildPecl {
|
||||
version = "5.1.1";
|
||||
pname = "redis";
|
||||
|
||||
sha256 = "1041zv91fkda73w4c3pj6zdvwjgb3q7mxg6mwnq9gisl80mrs732";
|
||||
|
||||
internalDeps = with php.extensions; [
|
||||
json
|
||||
session
|
||||
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
|
||||
hash ];
|
||||
|
||||
meta.maintainers = lib.teams.php.members;
|
||||
};
|
||||
redis = callPackage ../development/php-packages/redis { };
|
||||
|
||||
sqlsrv = buildPecl {
|
||||
version = "5.8.1";
|
||||
|
Loading…
Reference in New Issue
Block a user