depot/third_party/nixpkgs/pkgs/development/python-modules/async_timeout/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
532 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "async-timeout";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f";
};
# 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;
};
}