python3Packages.django-health-check: add optional-dependencies

This commit is contained in:
David Wolff
2026-05-26 04:04:11 +02:00
parent f96ad10b9e
commit ae479bdbb7
@@ -2,16 +2,22 @@
lib,
stdenv,
buildPythonPackage,
celery,
fetchFromGitHub,
flit-core,
flit-scm,
pytest-cov-stub,
pytest-django,
pytestCheckHook,
redis,
psutil,
dnspython,
pytest-asyncio,
libredirect,
confluent-kafka,
aio-pika,
httpx,
feedparser,
}:
buildPythonPackage rec {
@@ -35,6 +41,19 @@ buildPythonPackage rec {
dnspython
];
optional-dependencies = {
psutil = [ psutil ];
celery = [ celery ];
kafka = [ confluent-kafka ];
rabbitmq = [ aio-pika ];
redis = [ redis ];
rss = [
httpx
feedparser
];
atlassian = [ httpx ];
};
nativeCheckInputs = [
pytest-cov-stub
pytest-django