2016-12-11 19:06:12 +00:00
|
|
|
{ lib
|
2018-02-10 10:05:27 +00:00
|
|
|
, fetchPypi
|
2016-12-11 19:06:12 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
2021-11-12 08:15:33 +00:00
|
|
|
, typing-extensions
|
2016-12-11 19:06:12 +00:00
|
|
|
}:
|
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 19:06:12 +00:00
|
|
|
pname = "async-timeout";
|
2022-01-14 00:58:07 +00:00
|
|
|
version = "4.0.2";
|
2021-11-12 08:15:33 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2016-12-11 19:06:12 +00:00
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-09 04:21:00 +00:00
|
|
|
hash = "sha256-IWPhZA3bUreoyA0KZ6CFh+XSRcycVTp0qEcFa8KXaxU=";
|
2016-12-11 19:06:12 +00:00
|
|
|
};
|
|
|
|
|
2021-11-12 08:15:33 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
2016-12-11 19:06:12 +00:00
|
|
|
# Circular dependency on aiohttp
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Timeout context manager for asyncio programs";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/aio-libs/async_timeout/";
|
2016-12-11 19:06:12 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
2018-02-10 10:05:27 +00:00
|
|
|
}
|