Merge pull request #254537 from printu/init-php-ext-memcache

phpExtensions.memcache: init at 8.2
This commit is contained in:
Pol Dellaiera 2023-09-11 20:52:00 +02:00 committed by GitHub
commit 6c0c546fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ buildPecl, lib, fetchFromGitHub, php, zlib, pkg-config }:
buildPecl rec {
pname = "memcache";
version = "8.2";
src = fetchFromGitHub {
owner = "websupport-sk";
repo = "pecl-memcache";
rev = version;
hash = "sha256-77GvQ59XUpIZmdYZP6IhtjdkYwXKuNBSG+LBScz2BtI=";
};
internalDeps = [
php.extensions.session
];
configureFlags = [
"--with-zlib-dir=${zlib.dev}"
];
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 ];
};
}

View File

@ -255,6 +255,8 @@ lib.makeScope pkgs.newScope (self: with self; {
maxminddb = callPackage ../development/php-packages/maxminddb { };
memcache = callPackage ../development/php-packages/memcache { };
memcached = callPackage ../development/php-packages/memcached { };
mongodb = callPackage ../development/php-packages/mongodb {