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