75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
21 lines
505 B
Nix
21 lines
505 B
Nix
{ buildPecl, lib, rdkafka, pcre' }:
|
|
|
|
buildPecl {
|
|
pname = "rdkafka";
|
|
|
|
version = "5.0.0";
|
|
sha256 = "sha256-Qy+6rkPczhdxFbDhcuzmUTLMPUXYZ0HaheDBhkh4FXs=";
|
|
|
|
buildInputs = [ rdkafka pcre' ];
|
|
|
|
postPhpize = ''
|
|
substituteInPlace configure \
|
|
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${rdkafka}'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Kafka client based on librdkafka";
|
|
homepage = "https://github.com/arnaud-lb/php-rdkafka";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|