1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00

Merge pull request #86492 from etu/php-extension-init-rdkafka

php.extensions.rdkafka: init at 4.0.3
This commit is contained in:
Kim Lindberger 2020-05-16 21:31:25 +02:00 committed by GitHub
commit 37f904592b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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