2021-06-03 13:06:06 +00:00
|
|
|
{ buildPecl, lib, rdkafka, pcre2 }:
|
2020-10-11 17:49:28 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "rdkafka";
|
|
|
|
|
2022-08-01 06:15:28 +00:00
|
|
|
version = "6.0.3";
|
|
|
|
sha256 = "sha256-Euqrl21JaX4x8WOLR4ietexhrbdYcIlBESsVf47H3Ug=";
|
2020-10-11 17:49:28 +00:00
|
|
|
|
2021-06-03 13:06:06 +00:00
|
|
|
buildInputs = [ rdkafka pcre2 ];
|
2020-10-11 17:49:28 +00:00
|
|
|
|
|
|
|
postPhpize = ''
|
|
|
|
substituteInPlace configure \
|
2021-02-27 10:29:20 +00:00
|
|
|
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${rdkafka}'
|
2020-10-11 17:49:28 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kafka client based on librdkafka";
|
2021-06-08 09:50:05 +00:00
|
|
|
license = licenses.mit;
|
2020-10-11 17:49:28 +00:00
|
|
|
homepage = "https://github.com/arnaud-lb/php-rdkafka";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
|
|
|
}
|