mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #254537 from printu/init-php-ext-memcache
phpExtensions.memcache: init at 8.2
This commit is contained in:
commit
6c0c546fae
31
pkgs/development/php-packages/memcache/default.nix
Normal file
31
pkgs/development/php-packages/memcache/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user