855a6f2887
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-confluent-kafka/versions
24 lines
715 B
Nix
24 lines
715 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.0.0";
|
|
pname = "confluent-kafka";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a7427944af963410479c2aaae27cc9d28db39c9a93299f14dcf16df80092c63a";
|
|
};
|
|
|
|
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;
|
|
|
|
# No tests in PyPi Tarball
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Confluent's Apache Kafka client for Python";
|
|
homepage = https://github.com/confluentinc/confluent-kafka-python;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ mlieberman85 ];
|
|
};
|
|
}
|