phpExtensions.redis: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:53:07 +02:00
parent 80ba7d0c87
commit f5a4a96fad
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 18 additions and 14 deletions

@ -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";