1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/development/python-modules/aioamqp/default.nix
2017-09-07 09:28:02 +02:00

25 lines
541 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
asyncio
}:
buildPythonPackage rec {
pname = "aioamqp";
name = "${pname}-${version}";
version = "0.10.0";
meta = {
homepage = https://github.com/polyconseil/aioamqp;
description = "AMQP implementation using asyncio";
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "0132921yy31ijb8w439zcz1gla4hiws4hx8zf6la4hjr01nsy666";
};
buildInputs = lib.optionals isPy33 [ asyncio ];
disabled = pythonOlder "3.3";
}