8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
22 lines
533 B
Nix
22 lines
533 B
Nix
{ buildPecl, lib, rdkafka, pcre2 }:
|
|
|
|
buildPecl {
|
|
pname = "rdkafka";
|
|
|
|
version = "6.0.1";
|
|
sha256 = "sha256-ikq+cB5ZPRBCwhB0YQT0sEsVrJjbYzGEju2RrK388ZI=";
|
|
|
|
buildInputs = [ rdkafka pcre2 ];
|
|
|
|
postPhpize = ''
|
|
substituteInPlace configure \
|
|
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${rdkafka}'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Kafka client based on librdkafka";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/arnaud-lb/php-rdkafka";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|