at 23.05-pre 850 B view raw
1{ lib 2, buildPythonPackage 3, case 4, fetchPypi 5, pytestCheckHook 6, pythonOlder 7, vine 8}: 9 10buildPythonPackage rec { 11 pname = "amqp"; 12 version = "5.1.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-LBsT/swIk+lGxly9XzZCeGHP+k6iIB2Pb8oi4qNzteI="; 20 }; 21 22 propagatedBuildInputs = [ 23 vine 24 ]; 25 26 checkInputs = [ 27 case 28 pytestCheckHook 29 ]; 30 31 disabledTests = [ 32 # Requires network access 33 "test_rmq.py" 34 ]; 35 36 pythonImportsCheck = [ 37 "amqp" 38 ]; 39 40 meta = with lib; { 41 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; 42 homepage = "https://github.com/celery/py-amqp"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}