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
|
|
|
|
, pytestrunner
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 19:06:12 +00:00
|
|
|
pname = "async-timeout";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "2.0.0";
|
2016-12-11 19:06:12 +00:00
|
|
|
|
2018-02-10 10:05:27 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "c17d8ac2d735d59aa62737d76f2787a6c938f5a944ecf768a8c0ab70b0dea566";
|
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";
|
|
|
|
homepage = https://github.com/aio-libs/async_timeout/;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
2018-02-10 10:05:27 +00:00
|
|
|
}
|