1{ lib
2, fetchPypi
3, buildPythonPackage
4, pythonOlder
5, typing-extensions
6}:
7
8buildPythonPackage rec {
9 pname = "async-timeout";
10 version = "4.0.3";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-RkDZa+hNgtAu1Z6itxBaD3szq+hwNwPNCrC/h8QnUi8=";
17 };
18
19 propagatedBuildInputs = [
20 typing-extensions
21 ];
22
23 # Circular dependency on aiohttp
24 doCheck = false;
25
26 meta = {
27 description = "Timeout context manager for asyncio programs";
28 homepage = "https://github.com/aio-libs/async_timeout/";
29 license = lib.licenses.asl20;
30 };
31}