Files
nixpkgs/pkgs/development/php-packages/redis/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
629 B
Nix

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