mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
php.extensions.apcu: update src
attribute
So it can be automatically updated with `nix-update`
This commit is contained in:
parent
0dcce69be6
commit
51e1f61039
@ -1,10 +1,17 @@
|
||||
{ buildPecl, lib, pcre2 }:
|
||||
{ buildPecl, lib, pcre2, fetchFromGitHub }:
|
||||
|
||||
buildPecl {
|
||||
let
|
||||
version = "5.1.22";
|
||||
in buildPecl {
|
||||
inherit version;
|
||||
pname = "apcu";
|
||||
|
||||
version = "5.1.22";
|
||||
sha256 = "sha256-AQoNj9ES4e16UqNWGR2jaWprdjGUI/ew396u6vy0Gh4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "krakjoe";
|
||||
repo = "apcu";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-L4a+/kWT95a1Km+FzFNiAaBw8enU6k4ZiCFRErjj9o8=";
|
||||
};
|
||||
|
||||
buildInputs = [ pcre2 ];
|
||||
doCheck = true;
|
||||
@ -14,6 +21,7 @@ buildPecl {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}";
|
||||
description = "Userland cache for PHP";
|
||||
license = licenses.php301;
|
||||
homepage = "https://pecl.php.net/package/APCu";
|
||||
|
Loading…
Reference in New Issue
Block a user