depot/third_party/nixpkgs/pkgs/development/python-modules/async_timeout/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

31 lines
595 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "async-timeout";
version = "4.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-uTDLFho5BC+SIvbvtzATmch+6rOUcn7FQ3kko21u71E=";
};
propagatedBuildInputs = [
typing-extensions
];
# Circular dependency on aiohttp
doCheck = false;
meta = {
description = "Timeout context manager for asyncio programs";
homepage = "https://github.com/aio-libs/async_timeout/";
license = lib.licenses.asl20;
};
}