parent
1eea42f89a
commit
a5cf83c78a
@ -2,16 +2,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rdkafka";
|
pname = "rdkafka";
|
||||||
version = "1.0.1";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "edenhill";
|
owner = "edenhill";
|
||||||
repo = "librdkafka";
|
repo = "librdkafka";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1jxwsizqwckjzirh9gsvlca46z4y3i47vcifs1fh8gxb2lvdfgwb";
|
sha256 = "03h4yxnbnig17zapnnyvvnh1bsp0qalvlpb4fc3bpvs7yj4d8v25";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ zlib perl python openssl ];
|
buildInputs = [ zlib perl python openssl ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
||||||
@ -20,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "librdkafka - Apache Kafka C/C++ client library";
|
description = "librdkafka - Apache Kafka C/C++ client library";
|
||||||
homepage = https://github.com/edenhill/librdkafka;
|
homepage = https://github.com/edenhill/librdkafka;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user