about summary refs log tree commit diff
path: root/pkgs/development/python-modules/async_timeout/default.nix
blob: bc8e375271d6a029862bda00b265dd06b1ea3e34 (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
25
26
27
{ lib
, fetchPypi
, buildPythonPackage
, pytestrunner
, pythonOlder
}:

buildPythonPackage rec {
  pname = "async-timeout";
  version = "3.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b3c0ddc416736619bd4a95ca31de8da6920c3b9a140c64dbef2b2fa7bf521287";
  };

  # Circular dependency on aiohttp
  doCheck = false;

  disabled = pythonOlder "3.4";

  meta = {
    description = "Timeout context manager for asyncio programs";
    homepage = https://github.com/aio-libs/async_timeout/;
    license = lib.licenses.asl20;
  };
}