nixpkgs/pkgs/development/libraries/rdkafka/default.nix

29 lines
718 B
Nix
Raw Normal View History

2015-03-11 23:39:36 +00:00
{ stdenv, fetchFromGitHub, zlib, perl }:
2015-02-03 08:44:01 +00:00
stdenv.mkDerivation rec {
2015-11-09 04:41:47 +00:00
name = "rdkafka-2015-11-03";
2015-02-03 08:44:01 +00:00
2015-03-11 23:39:36 +00:00
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
2015-11-09 04:41:47 +00:00
rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a";
sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl";
2015-02-03 08:44:01 +00:00
};
2015-03-11 23:39:36 +00:00
buildInputs = [ zlib perl ];
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
2015-03-11 23:39:36 +00:00
postPatch = ''
patchShebangs .
'';
2015-02-03 08:44:01 +00: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-11 23:39:36 +00:00
maintainers = with maintainers; [ boothead wkennington ];
2015-02-03 08:44:01 +00:00
};
}