Skip to content

Commit

Permalink
python312Packages.confluent-kafka: build with pypaBuildHook
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium authored and wegank committed Nov 1, 2024
1 parent 0988cc1 commit badaeba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pkgs/development/python-modules/confluent-kafka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
rdkafka,
requests,
requests-mock,
setuptools,
}:

buildPythonPackage rec {
pname = "confluent-kafka";
version = "2.5.3";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

Expand All @@ -31,18 +32,24 @@ buildPythonPackage rec {

buildInputs = [ rdkafka ];

propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];

optional-dependencies = {
avro = [
avro
fastavro
requests
];
json = [
jsonschema
pyrsistent
requests
];
protobuf = [ protobuf ];
protobuf = [
protobuf
requests
];
schema-registry = [ requests ];
};

nativeCheckInputs = [
Expand Down

0 comments on commit badaeba

Please sign in to comment.