python312Packages.pytest-kafka: init at 0.8.1
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
setuptools,
|
||||
kafka-python-ng,
|
||||
port-for,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-kafka";
|
||||
version = "0.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "karolinepauls";
|
||||
repo = "pytest-kafka";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OR8SpNswbPOVtAcFuZgrZJR5K6wPb1TS5leybKWr3zY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
kafka-python-ng
|
||||
port-for
|
||||
pytest
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytest_kafka" ];
|
||||
|
||||
# Tests depends on a kafka server running
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Pytest fixture factories for Zookeeper, Kafka server and Kafka consumer";
|
||||
homepage = "https://gitlab.com/karolinepauls/pytest-kafka";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
@@ -13543,6 +13543,8 @@ self: super: with self; {
|
||||
|
||||
pytest-jupyter = callPackage ../development/python-modules/pytest-jupyter { };
|
||||
|
||||
pytest-kafka = callPackage ../development/python-modules/pytest-kafka { };
|
||||
|
||||
pytest-lazy-fixture = callPackage ../development/python-modules/pytest-lazy-fixture { };
|
||||
|
||||
pytest-lazy-fixtures = callPackage ../development/python-modules/pytest-lazy-fixtures { };
|
||||
|
||||
Reference in New Issue
Block a user