29 buildPythonPackage rec {
34 disabled = pythonOlder "3.9";
37 inherit pname version;
38 hash = "sha256-7vVy3S/Z/GFLN1gOPK6v3Vr0bB7/Mef7qJE4zbQG8s8=";
41 build-system = [ setuptools ];
43 propagatedBuildInputs = [
47 ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
49 optional-dependencies = {
50 msgpack = [ msgpack ];
53 mongodb = [ pymongo ];
59 zookeeper = [ kazoo ];
60 sqlalchemy = [ sqlalchemy ];
61 azurestoragequeues = [
65 azureservicebus = [ azure-servicebus ];
66 confluentkafka = [ confluent-kafka ];
67 # pyro4 doesn't suppport Python 3.11
76 ] ++ lib.flatten (lib.attrValues optional-dependencies);
78 pythonImportsCheck = [ "kombu" ];
83 # AssertionError: assert [call('WATCH'..., 'test-tag')] ==...
84 "test_global_keyprefix_transaction"
88 description = "Messaging library for Python";
89 homepage = "https://github.com/celery/kombu";
90 changelog = "https://github.com/celery/kombu/blob/v${version}/Changelog.rst";
91 license = licenses.bsd3;
92 maintainers = with maintainers; [ fab ];