Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 692 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }: 2 3buildPythonPackage rec { 4 pname = "amqp"; 5 version = "2.6.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21"; 10 }; 11 12 propagatedBuildInputs = [ vine ]; 13 14 checkInputs = [ pytestCheckHook case ]; 15 disabledTests = [ 16 "test_rmq.py" # requires network access 17 ]; 18 19 meta = with stdenv.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}