summaryrefslogtreecommitdiff
path: root/pkgs/development/php-packages/redis/default.nix
blob: 86223a65d056134123bf12f14a6f3d0f9def93ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  buildPecl,
  lib,
  php,
  fetchFromGitHub,
}:

let
  version = "6.3.0";
in
buildPecl {
  inherit version;
  pname = "redis";

  src = fetchFromGitHub {
    repo = "phpredis";
    owner = "phpredis";
    rev = version;
    hash = "sha256-mdphyUG4OUc1PBEA5Ub1X9afFDMJ5+HoXH4WnmeAKpE=";
  };

  internalDeps = with php.extensions; [ session ];

  meta = {
    changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}";
    description = "PHP extension for interfacing with Redis";
    license = lib.licenses.php301;
    homepage = "https://github.com/phpredis/phpredis/";
    teams = [ lib.teams.php ];
  };
}