Unverified Commit 6c0c546f authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

phpExtensions.memcache: init at 8.2
parents 8610af8d 1b04b02b
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 {