2019-02-14 23:01:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, Pyro4, amqp }:
|
2018-07-14 12:19:09 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-14 23:01:55 +00:00
|
|
|
pname = "kombu";
|
2019-06-17 20:57:04 +01:00
|
|
|
version = "4.6.3";
|
2018-07-14 12:19:09 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-17 20:57:04 +01:00
|
|
|
sha256 = "eb365ea795cd7e629ba2f1f398e0c3ba354b91ef4de225ffdf6ab45fdfc7d581";
|
2018-07-14 12:19:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
|
|
|
|
'';
|
|
|
|
|
2019-02-14 23:01:55 +00:00
|
|
|
checkInputs = [ pytest case pytz Pyro4 ];
|
2018-07-14 12:19:09 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ amqp ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Messaging library for Python";
|
|
|
|
homepage = https://github.com/celery/kombu;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|