at 23.11-beta 27 lines 638 B view raw
1{ buildPecl, lib, php, fetchFromGitHub }: 2 3let 4 version = "6.0.2"; 5in buildPecl { 6 inherit version; 7 pname = "redis"; 8 9 src = fetchFromGitHub { 10 repo = "phpredis"; 11 owner = "phpredis"; 12 rev = version; 13 hash = "sha256-Ie31zak6Rqxm2+jGXWg6KN4czHe9e+190jZRQ5VoB+M="; 14 }; 15 16 internalDeps = with php.extensions; [ 17 session 18 ]; 19 20 meta = with lib; { 21 changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}"; 22 description = "PHP extension for interfacing with Redis"; 23 license = licenses.php301; 24 homepage = "https://github.com/phpredis/phpredis/"; 25 maintainers = teams.php.members; 26 }; 27}