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

49 lines
797 B
Nix
Raw Normal View History

2021-06-20 17:25:45 +00:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
2019-10-27 16:37:13 +00:00
, amqp
2021-06-20 17:25:45 +00:00
, vine
, cached-property
, importlib-metadata
, azure-servicebus
2019-10-27 16:37:13 +00:00
, case
, Pyro4
2021-06-20 17:25:45 +00:00
, pytestCheckHook
2019-10-27 16:37:13 +00:00
, pytz
}:
2018-07-14 11:19:09 +00:00
buildPythonPackage rec {
pname = "kombu";
2021-06-18 21:47:24 +00:00
version = "5.1.0";
2018-07-14 11:19:09 +00:00
2021-06-20 17:25:45 +00:00
disabled = pythonOlder "3.6";
2018-07-14 11:19:09 +00:00
src = fetchPypi {
inherit pname version;
2021-06-18 21:47:24 +00:00
sha256 = "01481d99f4606f6939cdc9b637264ed353ee9e3e4f62cfb582324142c41a572d";
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
2018-07-14 11:19:09 +00:00
meta = with lib; {
description = "Messaging library for Python";
homepage = "https://github.com/celery/kombu";
2018-07-14 11:19:09 +00:00
license = licenses.bsd3;
};
}