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,16 +1,24 @@
|
||||||
{ buildPecl, lib, php }:
|
{ buildPecl, lib, php, fetchFromGitHub }:
|
||||||
|
|
||||||
buildPecl {
|
let
|
||||||
|
version = "5.3.7";
|
||||||
|
in buildPecl {
|
||||||
|
inherit version;
|
||||||
pname = "redis";
|
pname = "redis";
|
||||||
|
|
||||||
version = "5.3.7";
|
src = fetchFromGitHub {
|
||||||
sha256 = "sha256-uVgWbM2k9AvRfGmY+eIjkCGuZERnzYrVwV3vQgqtZbA=";
|
repo = "phpredis";
|
||||||
|
owner = "phpredis";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-Cc9Mtx28j3kpyV8Yq+JSYQt5XQnELaVjuUbkkbG45kw=";
|
||||||
|
};
|
||||||
|
|
||||||
internalDeps = with php.extensions; [
|
internalDeps = with php.extensions; [
|
||||||
session
|
session
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/phpredis/phpredis/releases/tag/${version}";
|
||||||
description = "PHP extension for interfacing with Redis";
|
description = "PHP extension for interfacing with Redis";
|
||||||
license = licenses.php301;
|
license = licenses.php301;
|
||||||
homepage = "https://github.com/phpredis/phpredis/";
|
homepage = "https://github.com/phpredis/phpredis/";
|
||||||
|
|
Loading…
Reference in a new issue