3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/php-packages/rdkafka/default.nix

22 lines
513 B
Nix
Raw Normal View History

{ buildPecl, lib, pkgs, pcre' }:
buildPecl {
pname = "rdkafka";
2020-10-14 17:20:11 +01:00
version = "4.0.4";
sha256 = "18a8p43i2g93fv7qzvk2hk66z5iv0mk1rqn097x49bjigliv60mn";
buildInputs = [ pkgs.rdkafka pcre' ];
postPhpize = ''
substituteInPlace configure \
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${pkgs.rdkafka}'
'';
meta = with lib; {
description = "Kafka client based on librdkafka";
homepage = "https://github.com/arnaud-lb/php-rdkafka";
maintainers = teams.php.members;
};
}