pythonPackages.confluent-kafka: fix build (#46380)

cc #45960
This commit is contained in:
Maximilian Bode 2018-09-08 21:32:04 +02:00 committed by xeji
parent 8c6cf3de3d
commit 73e75a7d16

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro}: { stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures}:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.11.5"; version = "0.11.5";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "bfb5807bfb5effd74f2cfe65e4e3e8564a9e72b25e099f655d8ad0d362a63b9f"; sha256 = "bfb5807bfb5effd74f2cfe65e4e3e8564a9e72b25e099f655d8ad0d362a63b9f";
}; };
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ; buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro futures ]) ;
# Tests fail for python3 under this pypi release # Tests fail for python3 under this pypi release
doCheck = if isPy3k then false else true; doCheck = if isPy3k then false else true;