Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 614 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, Pyro4, amqp }: 2 3buildPythonPackage rec { 4 pname = "kombu"; 5 version = "4.6.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "eb365ea795cd7e629ba2f1f398e0c3ba354b91ef4de225ffdf6ab45fdfc7d581"; 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}