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