php.extensions.rdkafka: init at 4.0.3

This commit is contained in:
Elis Hirwing 2020-05-01 21:32:25 +02:00
parent 2608a278ff
commit e683f5cbfa
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F

View file

@ -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";