2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
php,
|
|
|
|
zlib,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
buildPecl rec {
|
|
|
|
pname = "memcache";
|
|
|
|
version = "8.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "websupport-sk";
|
|
|
|
repo = "pecl-memcache";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-77GvQ59XUpIZmdYZP6IhtjdkYwXKuNBSG+LBScz2BtI=";
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
internalDeps = [ php.extensions.session ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
configureFlags = [ "--with-zlib-dir=${zlib.dev}" ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PHP extension for interfacing with memcached";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://github.com/websupport-sk/pecl-memcache";
|
|
|
|
maintainers = teams.php.members ++ [ maintainers.krzaczek ];
|
|
|
|
};
|
|
|
|
}
|