2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-26 02:33:56 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, mock
|
|
|
|
, twisted
|
|
|
|
, tornado
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pika";
|
2019-08-05 18:43:14 +01:00
|
|
|
version = "1.1.0";
|
2018-10-26 02:33:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-05 18:43:14 +01:00
|
|
|
sha256 = "1gqx9avb9nwgiyw5nz08bf99v9b0hvzr1pmqn9wbhd2hnsj6p9wz";
|
2018-10-26 02:33:56 +01:00
|
|
|
};
|
|
|
|
|
2019-09-15 18:45:02 +01:00
|
|
|
checkInputs = [ nose mock twisted tornado ];
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|