nixpkgs/pkgs/development/libraries/rdkafka/default.nix
William A. Kennington III 80f331fc6c rdkafka: 0.8.5 -> 0.8.6
2015-03-28 02:26:43 -07:00

27 lines
650 B
Nix

{ stdenv, fetchFromGitHub, zlib, perl }:
stdenv.mkDerivation rec {
name = "rdkafka-${version}";
version = "0.8.6";
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
rev = version;
sha256 = "0iklvslz35dd0lz26ffrbfb20qirl9v5kcdmlcnnzc034hr2zmnv";
};
buildInputs = [ zlib perl ];
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 ];
};
}