nixpkgs/pkgs/development/php-packages/redis/default.nix
Pol Dellaiera 4c5efee1da
php.extensions.redis: update src attribute
So it can be automatically updated with `nix-update`
2022-12-29 18:21:57 +01:00

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;
};
}