2018-06-12 17:25:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
|
2018-03-31 10:06:58 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "amqp";
|
2019-10-16 10:43:02 +01:00
|
|
|
version = "2.5.2";
|
2018-03-31 10:06:58 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:02 +01:00
|
|
|
sha256 = "77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d";
|
2018-03-31 10:06:58 +01:00
|
|
|
};
|
|
|
|
|
2018-06-12 17:25:28 +01:00
|
|
|
checkInputs = [ pytest case pytest-sugar ];
|
2018-03-31 10:06:58 +01:00
|
|
|
propagatedBuildInputs = [ vine ];
|
|
|
|
|
2018-06-12 17:25:28 +01:00
|
|
|
# Disable because pytest-sugar requires an old version of pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-03-31 10:06:58 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/celery/py-amqp";
|
2018-03-31 10:06:58 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|