nixpkgs-suyu/pkgs/development/libraries/rdkafka/default.nix
Ryan Mulligan 32cecea960 rdkafka: 0.9.5 -> 0.11.3
Semi-automatic update. These checks were performed:

- built on NixOS
- found 0.11.3 with grep in /nix/store/z53qgvkdj04v2wspk7ril70qy1ckwh8k-rdkafka-0.11.3
- found 0.11.3 in filename of file in /nix/store/z53qgvkdj04v2wspk7ril70qy1ckwh8k-rdkafka-0.11.3

cc "@boothead @wkennington"
2018-02-27 13:03:06 -08:00

32 lines
870 B
Nix

{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python }:
stdenv.mkDerivation rec {
name = "rdkafka-${version}";
version = "0.11.3";
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
rev = "v${version}";
sha256 = "17ghq0kzk2fdpxhr40xgg3s0p0n0gkvd0d85c6jsww3mj8v5xd14";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib perl python ];
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
configureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--disable-ssl" ];
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 ++ platforms.darwin;
maintainers = with maintainers; [ boothead wkennington ];
};
}