26 lines
605 B
Nix
Raw Normal View History

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