1 { lib, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
3 buildPythonPackage rec {
5 pname = "confluent-kafka";
9 sha256 = "8a9caabdb02e87cd65c7f10f689ba3f1a15f8774de455e96fa5fc56eecfee63c";
12 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;
14 # No tests in PyPi Tarball
18 description = "Confluent's Apache Kafka client for Python";
19 homepage = "https://github.com/confluentinc/confluent-kafka-python";
20 license = licenses.asl20;
21 maintainers = with maintainers; [ mlieberman85 ];