python3Packages.aio-pika: init at 8.3.0

This commit is contained in:
Emily Trau
2023-02-03 23:05:03 +11:00
parent ee0d419d3b
commit dfecf2c265
2 changed files with 58 additions and 0 deletions
@@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, aiormq
, yarl
, aiomisc
, shortuuid
}:
buildPythonPackage rec {
pname = "aio-pika";
version = "8.3.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mosquito";
repo = pname;
rev = version;
sha256 = "CYfj6V/91J7JA8YSctG/FkSHRkwyLKxr27eREbA+MtQ=";
};
propagatedBuildInputs = [
aiormq
yarl
];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
aiomisc
shortuuid
];
# Tests attempt to connect to a RabbitMQ server
disabledTestPaths = [
"tests/test_amqp.py"
"tests/test_amqp_robust.py"
"tests/test_amqp_robust_proxy.py"
"tests/test_amqps.py"
"tests/test_master.py"
"tests/test_memory_leak.py"
"tests/test_rpc.py"
"tests/test_types.py"
];
pythonImportsCheck = [ "aio_pika" ];
meta = with lib; {
description = "AMQP 0.9 client designed for asyncio and humans";
homepage = "https://github.com/mosquito/aio-pika";
license = licenses.asl20;
maintainers = with maintainers; [ emilytrau ];
};
}
+2
View File
@@ -122,6 +122,8 @@ self: super: with self; {
aio-georss-gdacs = callPackage ../development/python-modules/aio-georss-gdacs { };
aio-pika = callPackage ../development/python-modules/aio-pika { };
aioairzone = callPackage ../development/python-modules/aioairzone { };
aioairq = callPackage ../development/python-modules/aioairq { };