
Diff: https://github.com/terrycain/aioboto3/compare/refs/tags/v14.2.0...refs/tags/v14.3.0 Changelog: https://github.com/terrycain/aioboto3/blob/refs/tags/v14.3.0/CHANGELOG.rst
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
aiobotocore,
|
|
aiofiles,
|
|
buildPythonPackage,
|
|
chalice,
|
|
cryptography,
|
|
dill,
|
|
fetchFromGitHub,
|
|
moto,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioboto3";
|
|
version = "14.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "terrycain";
|
|
repo = "aioboto3";
|
|
tag = "v${version}";
|
|
hash = "sha256-3GdTpbU0uEEzezQPHJTGPB42Qu604eIhcIAP4rZMQiY=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"aiobotocore"
|
|
];
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
aiobotocore
|
|
aiofiles
|
|
] ++ aiobotocore.optional-dependencies.boto3;
|
|
|
|
optional-dependencies = {
|
|
chalice = [ chalice ];
|
|
s3cse = [ cryptography ];
|
|
};
|
|
|
|
nativeCheckInputs =
|
|
[
|
|
dill
|
|
moto
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
]
|
|
++ moto.optional-dependencies.server
|
|
++ lib.flatten (builtins.attrValues optional-dependencies);
|
|
|
|
disabledTests = [
|
|
"test_patches"
|
|
];
|
|
|
|
pythonImportsCheck = [ "aioboto3" ];
|
|
|
|
meta = {
|
|
description = "Wrapper to use boto3 resources with the aiobotocore async backend";
|
|
homepage = "https://github.com/terrycain/aioboto3";
|
|
changelog = "https://github.com/terrycain/aioboto3/blob/${src.rev}/CHANGELOG.rst";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ mbalatsko ];
|
|
};
|
|
}
|