nixpkgs/pkgs/development/python-modules/aioamqp/default.nix

24 lines
509 B
Nix
Raw Normal View History

2017-08-31 19:57:13 +01:00
{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
asyncio
}:
buildPythonPackage rec {
pname = "aioamqp";
version = "0.12.0";
2017-08-31 19:57:13 +01:00
meta = {
homepage = https://github.com/polyconseil/aioamqp;
description = "AMQP implementation using asyncio";
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "17vrl6jajr81bql7kjgq0zkxy225px97z4g9wmbhbbnvzn1p92c0";
2017-08-31 19:57:13 +01:00
};
buildInputs = lib.optionals isPy33 [ asyncio ];
disabled = pythonOlder "3.3";
}