nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.0 kB view raw
1{ 2 lib, 3 aiomisc-pytest, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pamqp, 8 yarl, 9 poetry-core, 10}: 11 12buildPythonPackage rec { 13 pname = "aiormq"; 14 version = "6.9.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "mosquito"; 19 repo = "aiormq"; 20 tag = version; 21 hash = "sha256-ApwL3okhpc3Dtq4bfWCCnoikyRx+4zPI9XtJ+qPKQdg="; 22 }; 23 24 pythonRelaxDeps = [ "pamqp" ]; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 pamqp 30 yarl 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 checkInputs = [ aiomisc-pytest ]; 36 37 # Tests attempt to connect to a RabbitMQ server 38 disabledTestPaths = [ 39 "tests/test_channel.py" 40 "tests/test_connection.py" 41 ]; 42 43 pythonImportsCheck = [ "aiormq" ]; 44 45 meta = { 46 description = "AMQP 0.9.1 asynchronous client library"; 47 homepage = "https://github.com/mosquito/aiormq"; 48 changelog = "https://github.com/mosquito/aiormq/releases/tag/${version}"; 49 license = lib.licenses.asl20; 50 maintainers = with lib.maintainers; [ emilytrau ]; 51 }; 52}