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
|
|
|
|
}:
|
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 19:06:12 +00:00
|
|
|
pname = "async-timeout";
|
2018-10-27 14:11:53 +01:00
|
|
|
version = "3.0.1";
|
2016-12-11 19:06:12 +00:00
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-27 14:11:53 +01:00
|
|
|
sha256 = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f";
|
2016-12-11 19:06:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Circular dependency on aiohttp
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Timeout context manager for asyncio programs";
|
2020-04-01 02:11:51 +01: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
|
|
|
}
|