1 { lib, stdenv, fetchFromGitHub, zlib, zstd, pkg-config, python3, openssl, which }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-G6rTvb2Z2O1Df5/6upEB9Eh049sx+LWhhDKvsZdDqsc=";
14 nativeBuildInputs = [ pkg-config python3 which ];
16 buildInputs = [ zlib zstd openssl ];
18 NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
24 enableParallelBuilding = true;
27 description = "librdkafka - Apache Kafka C/C++ client library";
28 homepage = "https://github.com/edenhill/librdkafka";
29 license = licenses.bsd2;
30 platforms = platforms.linux ++ platforms.darwin;
31 maintainers = with maintainers; [ commandodev ];