1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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

28 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 ];
};
}