diff --git a/pkgs/development/python-modules/amqp/default.nix b/pkgs/development/python-modules/amqp/default.nix index fa5b27a4ced..fc984d40cc6 100644 --- a/pkgs/development/python-modules/amqp/default.nix +++ b/pkgs/development/python-modules/amqp/default.nix @@ -1,17 +1,20 @@ -{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine }: +{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }: buildPythonPackage rec { pname = "amqp"; - version = "2.2.2"; + version = "2.3.2"; src = fetchPypi { inherit pname version; - sha256 = "cba1ace9d4ff6049b190d8b7991f9c1006b443a5238021aca96dd6ad2ac9da22"; + sha256 = "073dd02fdd73041bffc913b767866015147b61f2a9bc104daef172fc1a0066eb"; }; - buildInputs = [ pytest case ]; + 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";