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