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

26 lines
614 B
Nix
Raw Normal View History

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