Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 682 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }: 2 3buildPythonPackage rec { 4 pname = "amqp"; 5 version = "5.0.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60"; 10 }; 11 12 propagatedBuildInputs = [ vine ]; 13 14 checkInputs = [ pytestCheckHook case ]; 15 disabledTests = [ 16 "test_rmq.py" # requires network access 17 ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/celery/py-amqp"; 21 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; 22 license = licenses.lgpl21; 23 }; 24}