about summary refs log tree commit diff
path: root/pkgs/development/python-modules/async_timeout/default.nix
blob: 5f9318aa5c21395c2eb4e2fe5098875b712f200d (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 = "2.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "00cff4d2dce744607335cba84e9929c3165632da2d27970dbc55802a0c7873d0";
  };

  # 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;
  };
}