2019-02-15 00:01:55 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, Pyro4, amqp }:
|
2018-07-14 13:19:09 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-15 00:01:55 +01:00
|
|
|
pname = "kombu";
|
2019-10-16 11:43:09 +02:00
|
|
|
version = "4.6.5";
|
2018-07-14 13:19:09 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 11:43:09 +02:00
|
|
|
sha256 = "c9078124ce2616b29cf6607f0ac3db894c59154252dee6392cdbbe15e5c4b566";
|
2018-07-14 13:19:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
|
|
|
|
'';
|
|
|
|
|
2019-02-15 00:01:55 +01:00
|
|
|
checkInputs = [ pytest case pytz Pyro4 ];
|
2018-07-14 13:19:09 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ amqp ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Messaging library for Python";
|
|
|
|
homepage = https://github.com/celery/kombu;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|