depot/third_party/nixpkgs/pkgs/development/php-packages/rdkafka/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

21 lines
513 B
Nix

{ buildPecl, lib, pkgs, pcre' }:
buildPecl {
pname = "rdkafka";
version = "4.1.1";
sha256 = "0s6cqd71z5jpqb98myk4askmbqphzzslf0d4vqlg2rig9q6fyv7x";
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;
};
}