2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 02:33:56 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-05-08 19:52:02 +01:00
|
|
|
, gevent
|
2018-10-26 02:33:56 +01:00
|
|
|
, nose
|
|
|
|
, mock
|
|
|
|
, twisted
|
|
|
|
, tornado
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pika";
|
2021-03-24 09:28:20 +00:00
|
|
|
version = "1.2.0";
|
2018-10-26 02:33:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:20 +00:00
|
|
|
sha256 = "f023d6ac581086b124190cb3dc81dd581a149d216fa4540ac34f9be1e3970b89";
|
2018-10-26 02:33:56 +01:00
|
|
|
};
|
|
|
|
|
2021-05-08 19:52:02 +01:00
|
|
|
checkInputs = [ nose mock twisted tornado gevent ];
|
2018-10-26 02:33:56 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 02:33:56 +01:00
|
|
|
description = "Pure-Python implementation of the AMQP 0-9-1 protocol";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pika.readthedocs.org";
|
2018-10-26 02:33:56 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|