summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioamqp/default.nix
blob: 2dc86a2bfc3eb1106fcb2d7901a20f7ea654ab30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
  asyncio
}:

buildPythonPackage rec {
  pname = "aioamqp";
  name = "${pname}-${version}";
  version = "0.11.0";

  meta = {
    homepage = https://github.com/polyconseil/aioamqp;
    description = "AMQP implementation using asyncio";
    license = lib.licenses.bsd3;
  };

  src = fetchPypi {
    inherit pname version;
    sha256 = "7f1eb9e0f1b7c7e21a3a6ca498c3daafdfc3e95b4a1a0633fd8d6ba2dfcab777";
  };

  buildInputs = lib.optionals isPy33 [ asyncio ];

  disabled = pythonOlder "3.3";
}