nixpkgs/pkgs/development/libraries/rdkafka/default.nix

28 lines
650 B
Nix
Raw Normal View History

2015-03-12 00:39:36 +01:00
{ stdenv, fetchFromGitHub, zlib, perl }:
2015-02-03 09:44:01 +01:00
stdenv.mkDerivation rec {
2015-03-12 00:39:36 +01:00
name = "rdkafka-${version}";
2015-03-28 06:49:50 +01:00
version = "0.8.6";
2015-02-03 09:44:01 +01:00
2015-03-12 00:39:36 +01:00
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
rev = version;
2015-03-28 06:49:50 +01:00
sha256 = "0iklvslz35dd0lz26ffrbfb20qirl9v5kcdmlcnnzc034hr2zmnv";
2015-02-03 09:44:01 +01:00
};
2015-03-12 00:39:36 +01:00
buildInputs = [ zlib perl ];
postPatch = ''
patchShebangs .
'';
2015-02-03 09:44:01 +01:00
meta = with stdenv.lib; {
description = "librdkafka - Apache Kafka C/C++ client library";
homepage = "https://github.com/edenhill/librdkafka";
license = licenses.bsd2;
platforms = platforms.linux;
2015-03-12 00:39:36 +01:00
maintainers = with maintainers; [ boothead wkennington ];
2015-02-03 09:44:01 +01:00
};
}