nixpkgs/pkgs/development/libraries/rdkafka/default.nix
R. RyanTM a55bbee997 rdkafka: 0.11.4 -> 0.11.5 (#43932)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/rdkafka/versions.
2018-07-31 00:53:28 +02:00

31 lines
809 B
Nix

{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python, openssl }:
stdenv.mkDerivation rec {
name = "rdkafka-${version}";
version = "0.11.5";
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
rev = "v${version}";
sha256 = "1b0zp7k0775g5pzvkmpmsha63wx8wcwcas6w6wb09y0gymxz0xss";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib perl python openssl ];
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 ++ platforms.darwin;
maintainers = with maintainers; [ boothead wkennington ];
};
}