php.extensions.redis: update src
attribute
So it can be automatically updated with `nix-update`
This commit is contained in:
parent
5e4eb3caa1
commit
4c5efee1da
1 changed files with 12 additions and 4 deletions
|
@ -1,16 +1,24 @@
|
|||
{ buildPecl, lib, php }:
|
||||
{ buildPecl, lib, php, fetchFromGitHub }:
|
||||
|
||||
buildPecl {
|
||||
let
|
||||
version = "5.3.7";
|
||||
in buildPecl {
|
||||
inherit version;
|
||||
pname = "redis";
|
||||
|
||||
version = "5.3.7";
|
||||
sha256 = "sha256-uVgWbM2k9AvRfGmY+eIjkCGuZERnzYrVwV3vQgqtZbA=";
|
||||
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/";
|
||||
|
|
Loading…
Reference in a new issue