2018-10-26 01:33:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, mock
|
|
|
|
, twisted
|
|
|
|
, tornado
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pika";
|
2019-08-05 17:43:14 +00:00
|
|
|
version = "1.1.0";
|
2018-10-26 01:33:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-05 17:43:14 +00:00
|
|
|
sha256 = "1gqx9avb9nwgiyw5nz08bf99v9b0hvzr1pmqn9wbhd2hnsj6p9wz";
|
2018-10-26 01:33:56 +00:00
|
|
|
};
|
|
|
|
|
2019-09-15 17:45:02 +00:00
|
|
|
checkInputs = [ nose mock twisted tornado ];
|
2018-10-26 01:33:56 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pure-Python implementation of the AMQP 0-9-1 protocol";
|
|
|
|
homepage = https://pika.readthedocs.org;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|