nixpkgs/pkgs/development/python-modules/kombu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
888 B
Nix
Raw Normal View History

2021-06-20 17:25:45 +00:00
{ lib
2019-10-27 16:37:13 +00:00
, amqp
2021-06-20 17:25:45 +00:00
, azure-servicebus
2022-01-13 13:49:49 +00:00
, buildPythonPackage
, cached-property
2019-10-27 16:37:13 +00:00
, case
2022-01-13 13:49:49 +00:00
, fetchPypi
, importlib-metadata
2019-10-27 16:37:13 +00:00
, Pyro4
2021-06-20 17:25:45 +00:00
, pytestCheckHook
2022-01-13 13:49:49 +00:00
, pythonOlder
2019-10-27 16:37:13 +00:00
, pytz
2022-01-13 13:49:49 +00:00
, vine
2019-10-27 16:37:13 +00:00
}:
2018-07-14 11:19:09 +00:00
buildPythonPackage rec {
pname = "kombu";
2022-03-07 08:59:05 +00:00
version = "5.2.4";
2022-01-13 13:49:49 +00:00
format = "setuptools";
2018-07-14 11:19:09 +00:00
2022-01-13 13:49:49 +00:00
disabled = pythonOlder "3.7";
2021-06-20 17:25:45 +00:00
2018-07-14 11:19:09 +00:00
src = fetchPypi {
inherit pname version;
2022-03-07 08:59:05 +00:00
hash = "sha256-N87j7nJflOqLsXPqq3wXYCA+pTu+uuImMoYA+dJ5lhA=";
2018-07-14 11:19:09 +00:00
};
propagatedBuildInputs = [
amqp
2021-06-20 17:25:45 +00:00
vine
] ++ lib.optionals (pythonOlder "3.8") [
2021-06-20 17:25:45 +00:00
cached-property
importlib-metadata
];
2018-07-14 11:19:09 +00:00
2021-06-20 17:25:45 +00:00
checkInputs = [
azure-servicebus
case
Pyro4
pytestCheckHook
pytz
];
2019-10-27 16:37:13 +00:00
2022-01-13 13:49:49 +00:00
pythonImportsCheck = [
"kombu"
];
2018-07-14 11:19:09 +00:00
meta = with lib; {
description = "Messaging library for Python";
2022-01-13 13:49:49 +00:00
homepage = "https://github.com/celery/kombu";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
2018-07-14 11:19:09 +00:00
};
}