python3Packages.aiohttp-retry: init at 2.5.6

This commit is contained in:
Fabian Affolter 2022-01-15 16:36:28 +01:00
parent 5c401b5442
commit 9ff6000a29
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pytest-aiohttp
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiohttp-retry";
version = "2.5.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "inyutin";
repo = "aiohttp_retry";
rev = "v${version}";
hash = "sha256-jyt4YPn3gSgR1YfHYLs+5VCsjAk9Ij+2m5Kzy51CnLk=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"aiohttp_retry"
];
meta = with lib; {
description = "Retry client for aiohttp";
homepage = "https://github.com/inyutin/aiohttp_retry";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -318,6 +318,8 @@ in {
aiohttp-remotes = callPackage ../development/python-modules/aiohttp-remotes { };
aiohttp-retry = callPackage ../development/python-modules/aiohttp-retry { };
aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { };
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };