Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
693 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildPecl,
lib,
pcre2,
fetchFromGitHub,
}:
let
version = "5.1.27";
in
buildPecl {
inherit version;
pname = "apcu";
src = fetchFromGitHub {
owner = "krakjoe";
repo = "apcu";
rev = "v${version}";
sha256 = "sha256-kf1d+WLpwhzQVn9pnkXtPPTXI5XaAuIAReI6rDGypB8=";
};
buildInputs = [ pcre2 ];
doCheck = true;
makeFlags = [ "phpincludedir=$(dev)/include" ];
outputs = [
"out"
"dev"
];
meta = with lib; {
changelog = "https://github.com/krakjoe/apcu/releases/tag/v${version}";
description = "Userland cache for PHP";
homepage = "https://pecl.php.net/package/APCu";
license = licenses.php301;
teams = [ teams.php ];
};
}