Skip to content

Commit

Permalink
Merge pull request #86492 from etu/php-extension-init-rdkafka
Browse files Browse the repository at this point in the history
php.extensions.rdkafka: init at 4.0.3
  • Loading branch information
talyz committed May 16, 2020
2 parents 1f20788 + e683f5c commit 37f9045
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkgs/top-level/php-packages.nix
Expand Up @@ -709,6 +709,26 @@ in
meta.broken = isPhp74;
};

rdkafka = buildPecl {
version = "4.0.3";
pname = "rdkafka";

sha256 = "1g00p911raxcc7n2w9pzadxaggw5c564md6hjvqfs9ip550y5x16";

buildInputs = with pkgs; [ rdkafka pcre' ];

postPhpize = ''
substituteInPlace configure \
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${pkgs.rdkafka}'
'';

meta = {
description = "Kafka client based on librdkafka";
homepage = "https://github.com/arnaud-lb/php-rdkafka";
maintainers = lib.teams.php.members;
};
};

redis = buildPecl {
version = "5.1.1";
pname = "redis";
Expand Down

0 comments on commit 37f9045

Please sign in to comment.