summaryrefslogtreecommitdiffstats
path: root/pkgs/development/php-packages
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2020-10-11 19:53:07 +0200
committerElis Hirwing <elis@hirwing.se>2020-10-11 19:53:07 +0200
commitf5a4a96fad517ecea87d0c767396df8521f44afb (patch)
tree9c6b47610d8e80becf706d38aecea3cc5e51739b /pkgs/development/php-packages
parent80ba7d0c87afb1e7f818b2044a97b900ecd0d341 (diff)
phpExtensions.redis: Move to separate directory
Diffstat (limited to 'pkgs/development/php-packages')
-rw-r--r--pkgs/development/php-packages/redis/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/php-packages/redis/default.nix b/pkgs/development/php-packages/redis/default.nix
new file mode 100644
index 000000000000..6e322aecf2b8
--- /dev/null
+++ b/pkgs/development/php-packages/redis/default.nix
@@ -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;
+}