{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }: buildPythonPackage rec { pname = "amqp"; version = "2.5.1"; src = fetchPypi { inherit pname version; sha256 = "0s2yxnnhhx9hww0n33yn22q6sgnbd6n2nw92050qv2qpc3i1ga8r"; }; checkInputs = [ pytest case pytest-sugar ]; propagatedBuildInputs = [ vine ]; # Disable because pytest-sugar requires an old version of pytest doCheck = false; meta = with stdenv.lib; { homepage = https://github.com/celery/py-amqp; description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project"; license = licenses.lgpl21; }; }