3
0
Fork 0
forked from mirrors/nixpkgs

rdkafka: Build with openssl support.

This commit is contained in:
Shea Levy 2018-04-19 09:20:18 -04:00
parent 12ce0db1bf
commit e821f40c26
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python }:
{ stdenv, fetchFromGitHub, zlib, perl, pkgconfig, python, openssl }:
stdenv.mkDerivation rec {
name = "rdkafka-${version}";
@ -12,12 +12,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib perl python ];
buildInputs = [ zlib perl python openssl ];
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
configureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--disable-ssl" ];
postPatch = ''
patchShebangs .
'';