mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
python312Packages.kafka-python: drop
The only users aiokafka and parsedmarc stopped depending on it.
This commit is contained in:
parent
45c1cd7888
commit
8ad810aa5d
3 changed files with 1 additions and 43 deletions
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytest,
|
||||
six,
|
||||
mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.2";
|
||||
format = "setuptools";
|
||||
pname = "kafka-python";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04dfe7fea2b63726cd6f3e79a2d86e709d608d74406638c5da33a01d45a9d7e3";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
six
|
||||
mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Upstream uses tox but we don't on Nix. Running tests manually produces however
|
||||
# from . import unittest
|
||||
# E ImportError: cannot import name 'unittest'
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python client for Apache Kafka";
|
||||
homepage = "https://github.com/dpkp/kafka-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
|
@ -283,6 +283,7 @@ mapAliases ({
|
|||
jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18
|
||||
jupyterlab_launcher = throw "jupyterlab_launcher has been removed as it's abandoned for over 5 years and broken"; # added 2023-11-11
|
||||
jupyterlab_server = jupyterlab-server; # added 2023-11-12
|
||||
kafka-python = kafka-python-ng; # added 2024-07-19
|
||||
Kajiki = kajiki; # added 2023-02-19
|
||||
keepkey_agent = keepkey-agent; # added 2024-01-06
|
||||
Keras = keras; # added 2021-11-25
|
||||
|
|
|
@ -6612,8 +6612,6 @@ self: super: with self; {
|
|||
|
||||
kaa-metadata = callPackage ../development/python-modules/kaa-metadata { };
|
||||
|
||||
kafka-python = callPackage ../development/python-modules/kafka-python { };
|
||||
|
||||
kafka-python-ng = callPackage ../development/python-modules/kafka-python-ng { };
|
||||
|
||||
kaggle = callPackage ../development/python-modules/kaggle { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue