Merge pull request #251057 from fabaff/kombu-pyro4
python311Packages.kombu: add optional-dependencies
This commit is contained in:
commit
7c137ef87f
@ -2,17 +2,27 @@
|
|||||||
, amqp
|
, amqp
|
||||||
, azure-identity
|
, azure-identity
|
||||||
, azure-servicebus
|
, azure-servicebus
|
||||||
|
, azure-storage-queue
|
||||||
, backports-zoneinfo
|
, backports-zoneinfo
|
||||||
|
, boto3
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, case
|
, case
|
||||||
|
, confluent-kafka
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, pyro4
|
, kazoo
|
||||||
|
, msgpack
|
||||||
|
, pycurl
|
||||||
|
, pymongo
|
||||||
|
#, pyro4
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytz
|
, pyyaml
|
||||||
, vine
|
, redis
|
||||||
|
, sqlalchemy
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
|
, urllib3
|
||||||
|
, vine
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -36,24 +46,65 @@ buildPythonPackage rec {
|
|||||||
backports-zoneinfo
|
backports-zoneinfo
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
msgpack = [
|
||||||
|
msgpack
|
||||||
|
];
|
||||||
|
yaml = [
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
redis = [
|
||||||
|
redis
|
||||||
|
];
|
||||||
|
mongodb = [
|
||||||
|
pymongo
|
||||||
|
];
|
||||||
|
sqs = [
|
||||||
|
boto3
|
||||||
|
urllib3
|
||||||
|
pycurl
|
||||||
|
];
|
||||||
|
zookeeper = [
|
||||||
|
kazoo
|
||||||
|
];
|
||||||
|
sqlalchemy = [
|
||||||
|
sqlalchemy
|
||||||
|
];
|
||||||
|
azurestoragequeues = [
|
||||||
|
azure-identity
|
||||||
|
azure-storage-queue
|
||||||
|
];
|
||||||
|
azureservicebus = [
|
||||||
|
azure-servicebus
|
||||||
|
];
|
||||||
|
confluentkafka = [
|
||||||
|
confluent-kafka
|
||||||
|
];
|
||||||
|
# pyro4 doesn't suppport Python 3.11
|
||||||
|
#pyro = [
|
||||||
|
# pyro4
|
||||||
|
#];
|
||||||
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
azure-identity
|
|
||||||
azure-servicebus
|
|
||||||
case
|
case
|
||||||
hypothesis
|
hypothesis
|
||||||
pyro4
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytz
|
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"kombu"
|
"kombu"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Disable pyro4 test
|
||||||
|
"test_driver_version"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/celery/kombu/releases/tag/v${version}";
|
|
||||||
description = "Messaging library for Python";
|
description = "Messaging library for Python";
|
||||||
homepage = "https://github.com/celery/kombu";
|
homepage = "https://github.com/celery/kombu";
|
||||||
|
changelog = "https://github.com/celery/kombu/releases/tag/v${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user