2015-03-12 02:39:36 +03:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, perl }:
|
2015-02-03 11:44:01 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-09 07:41:47 +03:00
|
|
|
name = "rdkafka-2015-11-03";
|
2015-02-03 11:44:01 +03:00
|
|
|
|
2015-03-12 02:39:36 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "edenhill";
|
|
|
|
repo = "librdkafka";
|
2015-11-09 07:41:47 +03:00
|
|
|
rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a";
|
|
|
|
sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl";
|
2015-02-03 11:44:01 +03:00
|
|
|
};
|
|
|
|
|
2015-03-12 02:39:36 +03:00
|
|
|
buildInputs = [ zlib perl ];
|
|
|
|
|
2015-10-28 21:41:26 +03:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
|
|
|
|
2015-03-12 02:39:36 +03:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2015-02-03 11:44:01 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "librdkafka - Apache Kafka C/C++ client library";
|
|
|
|
homepage = "https://github.com/edenhill/librdkafka";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
2015-03-12 02:39:36 +03:00
|
|
|
maintainers = with maintainers; [ boothead wkennington ];
|
2015-02-03 11:44:01 +03:00
|
|
|
};
|
|
|
|
}
|