1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 00:49:27 +03:00
nixpkgs/pkgs/development/python-modules/async-timeout/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
619 B
Nix
Raw Normal View History

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "async-timeout";
version = "4.0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-RkDZa+hNgtAu1Z6itxBaD3szq+hwNwPNCrC/h8QnUi8=";
};
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;
};
}