2018-06-12 16:25:28 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
|
2018-03-31 09:06:58 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "amqp";
|
2019-09-28 08:18:38 +00:00
|
|
|
version = "2.5.1";
|
2018-03-31 09:06:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 08:18:38 +00:00
|
|
|
sha256 = "0s2yxnnhhx9hww0n33yn22q6sgnbd6n2nw92050qv2qpc3i1ga8r";
|
2018-03-31 09:06:58 +00:00
|
|
|
};
|
|
|
|
|
2018-06-12 16:25:28 +00:00
|
|
|
checkInputs = [ pytest case pytest-sugar ];
|
2018-03-31 09:06:58 +00:00
|
|
|
propagatedBuildInputs = [ vine ];
|
|
|
|
|
2018-06-12 16:25:28 +00:00
|
|
|
# Disable because pytest-sugar requires an old version of pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-03-31 09:06:58 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|