nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 786 B view raw
1{ 2 buildPecl, 3 lib, 4 fetchFromGitHub, 5 php, 6 zlib, 7 pkg-config, 8}: 9 10buildPecl rec { 11 pname = "memcache"; 12 version = "8.2"; 13 14 src = fetchFromGitHub { 15 owner = "websupport-sk"; 16 repo = "pecl-memcache"; 17 rev = version; 18 hash = "sha256-77GvQ59XUpIZmdYZP6IhtjdkYwXKuNBSG+LBScz2BtI="; 19 }; 20 21 internalDeps = [ php.extensions.session ]; 22 23 configureFlags = [ "--with-zlib-dir=${zlib.dev}" ]; 24 25 nativeBuildInputs = [ pkg-config ]; 26 buildInputs = [ zlib ]; 27 28 meta = { 29 description = "PHP extension for interfacing with memcached"; 30 license = lib.licenses.php301; 31 homepage = "https://github.com/websupport-sk/pecl-memcache"; 32 maintainers = [ lib.maintainers.krzaczek ]; 33 teams = [ lib.teams.php ]; 34 broken = lib.versionAtLeast php.version "8.5"; 35 }; 36}