1{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, Pyro4, amqp }:
2
3buildPythonPackage rec {
4 pname = "kombu";
5 version = "4.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "529df9e0ecc0bad9fc2b376c3ce4796c41b482cf697b78b71aea6ebe7ca353c8";
10 };
11
12 postPatch = ''
13 substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
14 '';
15
16 checkInputs = [ pytest case pytz Pyro4 ];
17
18 propagatedBuildInputs = [ amqp ];
19
20 meta = with lib; {
21 description = "Messaging library for Python";
22 homepage = https://github.com/celery/kombu;
23 license = licenses.bsd3;
24 };
25}