3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/kombu/default.nix

26 lines
611 B
Nix
Raw Normal View History

2018-07-14 12:19:09 +01:00
{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, amqp }:
buildPythonPackage rec {
pname = "kombu";
2019-01-17 15:13:01 +00:00
version = "4.2.2.post1";
2018-07-14 12:19:09 +01:00
src = fetchPypi {
inherit pname version;
2019-01-17 15:13:01 +00:00
sha256 = "3c9dca2338c5d893f30c151f5d29bfb81196748ab426d33c362ab51f1e8dbf78";
2018-07-14 12:19:09 +01: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;
};
}