at 24.11-pre 1.2 kB view raw
1{ 2 lib, 3 aiomisc-pytest, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 pythonRelaxDepsHook, 8 pytestCheckHook, 9 pamqp, 10 yarl, 11 poetry-core, 12}: 13 14buildPythonPackage rec { 15 pname = "aiormq"; 16 version = "6.8.0"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "mosquito"; 23 repo = "aiormq"; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-XD1g4JXQJlJyXuZbo4hYW7cwQhy8+p4/inwNw2WOD9Y="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 pythonRelaxDepsHook 31 ]; 32 33 pythonRelaxDeps = [ "pamqp" ]; 34 35 propagatedBuildInputs = [ 36 pamqp 37 yarl 38 ]; 39 40 nativeCheckInputs = [ pytestCheckHook ]; 41 42 checkInputs = [ aiomisc-pytest ]; 43 44 # Tests attempt to connect to a RabbitMQ server 45 disabledTestPaths = [ 46 "tests/test_channel.py" 47 "tests/test_connection.py" 48 ]; 49 50 pythonImportsCheck = [ "aiormq" ]; 51 52 meta = with lib; { 53 description = "AMQP 0.9.1 asynchronous client library"; 54 homepage = "https://github.com/mosquito/aiormq"; 55 changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}"; 56 license = licenses.asl20; 57 maintainers = with maintainers; [ emilytrau ]; 58 }; 59}