at master 631 B view raw
1{ 2 buildPecl, 3 lib, 4 php, 5 fetchFromGitHub, 6}: 7 8let 9 version = "6.2.0"; 10in 11buildPecl { 12 inherit version; 13 pname = "redis"; 14 15 src = fetchFromGitHub { 16 repo = "phpredis"; 17 owner = "phpredis"; 18 rev = version; 19 hash = "sha256-uUnH+AS4PgIm+uias5T5+W7X5Pzq4hx4c6zAl4OYk1g="; 20 }; 21 22 internalDeps = with php.extensions; [ session ]; 23 24 meta = with lib; { 25 changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}"; 26 description = "PHP extension for interfacing with Redis"; 27 license = licenses.php301; 28 homepage = "https://github.com/phpredis/phpredis/"; 29 teams = [ teams.php ]; 30 }; 31}