2017-08-31 20:57:13 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
|
|
|
|
asyncio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioamqp";
|
|
|
|
name = "${pname}-${version}";
|
2018-06-21 07:37:15 +02:00
|
|
|
version = "0.11.0";
|
2017-08-31 20:57:13 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/polyconseil/aioamqp;
|
|
|
|
description = "AMQP implementation using asyncio";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 07:37:15 +02:00
|
|
|
sha256 = "7f1eb9e0f1b7c7e21a3a6ca498c3daafdfc3e95b4a1a0633fd8d6ba2dfcab777";
|
2017-08-31 20:57:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = lib.optionals isPy33 [ asyncio ];
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.3";
|
|
|
|
}
|