aiobotocore: init at 1.1.2

This commit is contained in:
Tom Hunger 2020-12-31 17:04:56 +00:00
parent 10c7ebc718
commit 7dbc223af4
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestrunner
, typing-extensions
, wrapt
, aioitertools
, aiohttp
, botocore
}:
buildPythonPackage rec {
pname = "aiobotocore";
version = "1.1.2";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1fn9hgcg3qr9f7srjxc21bzkiix4al9308531slwlm99r0x3xcjl";
};
# relax version constraints: aiobotocore works with newer botocore versions
# the pinning used to match some `extras_require` we're not using.
preConfigure = ''
substituteInPlace setup.py --replace 'botocore>=1.17.44,<1.17.45' 'botocore'
'';
propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ];
# tests not distributed on pypi
doCheck = false;
pythonImportsCheck = [ "aiobotocore" ];
meta = with lib; {
description = "Async client for amazon services using botocore and aiohttp/asyncio.";
license = licenses.asl20;
homepage = "https://github.com/aio-libs/aiobotocore";
maintainers = with maintainers; [ teh ];
};
}

View File

@ -223,6 +223,8 @@ in {
aioitertools = callPackage ../development/python-modules/aioitertools { };
aiobotocore = callPackage ../development/python-modules/aiobotocore { };
aiohue = callPackage ../development/python-modules/aiohue { };
aioimaplib = callPackage ../development/python-modules/aioimaplib { };