Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
836 B
Nix
43 lines
836 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
fetchFromGitHub,
|
|
php,
|
|
cyrus_sasl,
|
|
zlib,
|
|
pkg-config,
|
|
libmemcached,
|
|
}:
|
|
|
|
buildPecl rec {
|
|
pname = "memcached";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "php-memcached-dev";
|
|
repo = "php-memcached";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-V4d6bY0m1nuEfjZjt3qio4/HOBcSlD9+XMEl1GPfbhs=";
|
|
};
|
|
|
|
internalDeps = [ php.extensions.session ];
|
|
|
|
configureFlags = [
|
|
"--with-zlib-dir=${zlib.dev}"
|
|
"--with-libmemcached-dir=${libmemcached}"
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
cyrus_sasl
|
|
zlib
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "PHP extension for interfacing with memcached via libmemcached library";
|
|
license = licenses.php301;
|
|
homepage = "https://github.com/php-memcached-dev/php-memcached";
|
|
teams = [ teams.php ];
|
|
};
|
|
}
|