3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
48 lines
784 B
Nix
48 lines
784 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, amqp
|
|
, vine
|
|
, cached-property
|
|
, importlib-metadata
|
|
, azure-servicebus
|
|
, case
|
|
, Pyro4
|
|
, pytestCheckHook
|
|
, pytz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kombu";
|
|
version = "5.2.2";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-D10HY/uRaAj2F7iGaXsr4o5rw1Am8I5nlpf8gUtIpgg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
amqp
|
|
vine
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
cached-property
|
|
importlib-metadata
|
|
];
|
|
|
|
checkInputs = [
|
|
azure-servicebus
|
|
case
|
|
Pyro4
|
|
pytestCheckHook
|
|
pytz
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Messaging library for Python";
|
|
homepage = "https://github.com/celery/kombu";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|