py-confluent-kafka: new package (#50418)

This commit is contained in:
Matthieu Dorier 2025-05-12 07:36:17 +01:00 committed by GitHub
parent 2504dcf4f8
commit 2c9f94e6a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,21 @@
# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyConfluentKafka(PythonPackage):
"""Confluent's Kafka Python Client."""
homepage = "https://docs.confluent.io/kafka-clients/python"
pypi = "confluent-kafka/confluent-kafka-2.6.0.tar.gz"
license("Apache-2.0", checked_by="github_user1")
version("2.6.0", sha256="f7afe69639bd2ab15404dd46a76e06213342a23cb5642d873342847cb2198c87")
depends_on("c", type="build")
depends_on("py-setuptools", type="build")
depends_on("librdkafka@2.6.0:")