16 buildPythonPackage rec {
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-Fy3vTXfj+gu/+PYWPfcOZ/D7boRiZYcFPX29p28HoGs=";
35 propagatedBuildInputs = [
38 ] ++ lib.optionals (pythonOlder "3.8") [
50 # Tests attempt to connect to a RabbitMQ server
52 "tests/test_amqp_robust.py"
53 "tests/test_amqp_robust_proxy.py"
55 "tests/test_master.py"
56 "tests/test_memory_leak.py"
61 pythonImportsCheck = [
66 description = "AMQP 0.9 client designed for asyncio and humans";
67 homepage = "https://github.com/mosquito/aio-pika";
68 changelog = "https://github.com/mosquito/aio-pika/blob/${version}/CHANGELOG.md";
69 license = licenses.asl20;
70 maintainers = with maintainers; [ emilytrau ];