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

27 lines
664 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-11-09 05:41:47 +01:00
name = "rdkafka-2015-11-03";
2015-02-03 09:44:01 +01:00
2015-03-12 00:39:36 +01:00
src = fetchFromGitHub {
owner = "edenhill";
repo = "librdkafka";
2015-11-09 05:41:47 +01:00
rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a";
sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl";
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
};
}