{ lib , buildPythonPackage , fetchPypi , pythonOlder , wrapt , aioitertools , aiohttp , botocore }: buildPythonPackage rec { pname = "aiobotocore"; version = "2.3.0"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; sha256 = "sha256-/D09YGFBC8GU0J7FReMLRGnV90dw+TespfaqReYqG/4="; }; # relax version constraints: aiobotocore works with newer botocore versions # the pinning used to match some `extras_require` we're not using. postPatch = '' sed -i "s/'botocore>=.*'/'botocore'/" setup.py ''; propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ]; # tests not distributed on pypi doCheck = false; pythonImportsCheck = [ "aiobotocore" ]; meta = with lib; { description = "Python client for amazon services"; license = licenses.asl20; homepage = "https://github.com/aio-libs/aiobotocore"; maintainers = with maintainers; [ teh ]; }; }