841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
22 lines
533 B
Nix
22 lines
533 B
Nix
{ buildPecl, lib, rdkafka, pcre2 }:
|
|
|
|
buildPecl {
|
|
pname = "rdkafka";
|
|
|
|
version = "5.0.0";
|
|
sha256 = "sha256-Qy+6rkPczhdxFbDhcuzmUTLMPUXYZ0HaheDBhkh4FXs=";
|
|
|
|
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;
|
|
};
|
|
}
|