at 23.11-beta 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, case 4, fetchPypi 5, pytestCheckHook 6, pytest-rerunfailures 7, pythonOlder 8, vine 9}: 10 11buildPythonPackage rec { 12 pname = "amqp"; 13 version = "5.2.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-oez/QlrQY61CpIbJAoB9FIIxFIHIrZWnJpSyl1519/0="; 21 }; 22 23 propagatedBuildInputs = [ 24 vine 25 ]; 26 27 __darwinAllowLocalNetworking = true; 28 29 nativeCheckInputs = [ 30 case 31 pytestCheckHook 32 pytest-rerunfailures 33 ]; 34 35 disabledTests = [ 36 # Requires network access 37 "test_rmq.py" 38 ]; 39 40 pythonImportsCheck = [ 41 "amqp" 42 ]; 43 44 meta = with lib; { 45 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; 46 homepage = "https://github.com/celery/py-amqp"; 47 changelog = "https://github.com/celery/py-amqp/releases/tag/v${version}"; 48 license = licenses.bsd3; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}