1{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
2
3buildPythonPackage rec {
4 pname = "amqp";
5 version = "2.3.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "073dd02fdd73041bffc913b767866015147b61f2a9bc104daef172fc1a0066eb";
10 };
11
12 checkInputs = [ pytest case pytest-sugar ];
13 propagatedBuildInputs = [ vine ];
14
15 # Disable because pytest-sugar requires an old version of pytest
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/celery/py-amqp;
20 description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
21 license = licenses.lgpl21;
22 };
23}