lol
1{ stdenv, fetchFromGitHub, zlib, perl }:
2
3stdenv.mkDerivation rec {
4 name = "rdkafka-2015-11-03";
5
6 src = fetchFromGitHub {
7 owner = "edenhill";
8 repo = "librdkafka";
9 rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a";
10 sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl";
11 };
12
13 buildInputs = [ zlib perl ];
14
15 NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
16
17 postPatch = ''
18 patchShebangs .
19 '';
20
21 meta = with stdenv.lib; {
22 description = "librdkafka - Apache Kafka C/C++ client library";
23 homepage = "https://github.com/edenhill/librdkafka";
24 license = licenses.bsd2;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ boothead wkennington ];
27 };
28}