2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
|
2018-03-31 11:06:58 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "amqp";
|
2021-01-28 18:11:30 +01:00
|
|
|
version = "5.0.5";
|
2018-03-31 11:06:58 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-28 18:11:30 +01:00
|
|
|
sha256 = "affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60";
|
2018-03-31 11:06:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ vine ];
|
|
|
|
|
2020-07-07 15:04:48 +02:00
|
|
|
checkInputs = [ pytestCheckHook case ];
|
|
|
|
disabledTests = [
|
|
|
|
"test_rmq.py" # requires network access
|
|
|
|
];
|
2018-06-12 18:25:28 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/celery/py-amqp";
|
2018-03-31 11:06:58 +02: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;
|
|
|
|
};
|
|
|
|
}
|