2016-12-11 20:06:12 +01:00
|
|
|
{ lib
|
2018-02-10 11:05:27 +01:00
|
|
|
, fetchPypi
|
2016-12-11 20:06:12 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
2018-02-10 11:05:27 +01:00
|
|
|
buildPythonPackage rec {
|
2016-12-11 20:06:12 +01:00
|
|
|
pname = "async-timeout";
|
2018-06-12 18:46:58 +02:00
|
|
|
version = "3.0.0";
|
2016-12-11 20:06:12 +01:00
|
|
|
|
2018-02-10 11:05:27 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:46:58 +02:00
|
|
|
sha256 = "b3c0ddc416736619bd4a95ca31de8da6920c3b9a140c64dbef2b2fa7bf521287";
|
2016-12-11 20:06:12 +01: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 11:05:27 +01:00
|
|
|
}
|