rdkafka: 2015-11-03 -> 0.9.5

This commit is contained in:
Utku Demir 2017-05-05 14:55:07 +12:00
parent f4289c8b19
commit 85ea6249bb
1 changed files with 6 additions and 5 deletions

View File

@ -1,16 +1,17 @@
{ stdenv, fetchFromGitHub, zlib, perl }: { stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rdkafka-2015-11-03"; name = "rdkafka-${version}";
version = "0.9.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "edenhill"; owner = "edenhill";
repo = "librdkafka"; repo = "librdkafka";
rev = "3e1babf4f26a7d12bbd272c1cdf4aa6a44000d4a"; rev = "v${version}";
sha256 = "1vmbbkgdwxr25wz60hi6rhqb843ipz34r9baygv87fwh3lwwkqwl"; sha256 = "0yp8vmj3yc564hcmhx46ssyn8qayywnsrg4wg67qk6jw967qgwsn";
}; };
buildInputs = [ zlib perl ]; buildInputs = [ zlib perl pkgconfig python ];
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow"; NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";