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-06-18 22:47:07 +01:00
|
|
|
version = "5.0.6";
|
2018-03-31 10:06:58 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:07 +01:00
|
|
|
sha256 = "03e16e94f2b34c31f8bf1206d8ddd3ccaa4c315f7f6a1879b7b1210d229568c2";
|
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;
|
|
|
|
};
|
|
|
|
}
|