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

26 lines
605 B
Nix
Raw Normal View History

2018-07-14 11:19:09 +00:00
{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, amqp }:
buildPythonPackage rec {
pname = "kombu";
2019-02-14 07:37:19 +00:00
version = "4.3.0";
2018-07-14 11:19:09 +00:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:19 +00:00
sha256 = "529df9e0ecc0bad9fc2b376c3ce4796c41b482cf697b78b71aea6ebe7ca353c8";
2018-07-14 11:19:09 +00: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;
};
}