nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 30 lines 552 B view raw
1{ 2 buildPecl, 3 lib, 4 rdkafka, 5 pcre2, 6}: 7 8buildPecl { 9 pname = "rdkafka"; 10 11 version = "6.0.3"; 12 sha256 = "sha256-Euqrl21JaX4x8WOLR4ietexhrbdYcIlBESsVf47H3Ug="; 13 14 buildInputs = [ 15 rdkafka 16 pcre2 17 ]; 18 19 postPhpize = '' 20 substituteInPlace configure \ 21 --replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${rdkafka}' 22 ''; 23 24 meta = with lib; { 25 description = "Kafka client based on librdkafka"; 26 license = licenses.mit; 27 homepage = "https://github.com/arnaud-lb/php-rdkafka"; 28 maintainers = teams.php.members; 29 }; 30}