python3Packages.django-health-check: add optional-dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user