1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/rdkafka/default.nix
Vladimír Čunát 333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00

29 lines
718 B
Nix

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