1{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder, 2 asyncio 3}: 4 5buildPythonPackage rec { 6 pname = "aioamqp"; 7 name = "${pname}-${version}"; 8 version = "0.10.0"; 9 10 meta = { 11 homepage = https://github.com/polyconseil/aioamqp; 12 description = "AMQP implementation using asyncio"; 13 license = lib.licenses.bsd3; 14 }; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0132921yy31ijb8w439zcz1gla4hiws4hx8zf6la4hjr01nsy666"; 19 }; 20 21 buildInputs = lib.optionals isPy33 [ asyncio ]; 22 23 disabled = pythonOlder "3.3"; 24}