phpExtensions.memcache: init at 8.2
This commit is contained in:
parent
6559511e31
commit
1b04b02b35
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 { };
|
maxminddb = callPackage ../development/php-packages/maxminddb { };
|
||||||
|
|
||||||
|
memcache = callPackage ../development/php-packages/memcache { };
|
||||||
|
|
||||||
memcached = callPackage ../development/php-packages/memcached { };
|
memcached = callPackage ../development/php-packages/memcached { };
|
||||||
|
|
||||||
mongodb = callPackage ../development/php-packages/mongodb {
|
mongodb = callPackage ../development/php-packages/mongodb {
|
||||||
|
|
Loading…
Reference in a new issue