mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
4c5efee1da
So it can be automatically updated with `nix-update`
28 lines
640 B
Nix
28 lines
640 B
Nix
{ buildPecl, lib, php, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "5.3.7";
|
|
in buildPecl {
|
|
inherit version;
|
|
pname = "redis";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "phpredis";
|
|
owner = "phpredis";
|
|
rev = version;
|
|
sha256 = "sha256-Cc9Mtx28j3kpyV8Yq+JSYQt5XQnELaVjuUbkkbG45kw=";
|
|
};
|
|
|
|
internalDeps = with php.extensions; [
|
|
session
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}";
|
|
description = "PHP extension for interfacing with Redis";
|
|
license = licenses.php301;
|
|
homepage = "https://github.com/phpredis/phpredis/";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|