nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 43 lines 780 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, pytest-aiohttp 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "aiohttp-retry"; 12 version = "2.5.6"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "inyutin"; 19 repo = "aiohttp_retry"; 20 rev = "v${version}"; 21 hash = "sha256-jyt4YPn3gSgR1YfHYLs+5VCsjAk9Ij+2m5Kzy51CnLk="; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 ]; 27 28 checkInputs = [ 29 pytest-aiohttp 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "aiohttp_retry" 35 ]; 36 37 meta = with lib; { 38 description = "Retry client for aiohttp"; 39 homepage = "https://github.com/inyutin/aiohttp_retry"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}