Loading pkgs/development/python-modules/aioboto3/default.nix +27 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, setuptools-scm, # dependencies aiobotocore, aiofiles, buildPythonPackage, # optional-dependencies # chalice chalice, # s3cse cryptography, # tests dill, fetchFromGitHub, moto, pytest-asyncio, pytestCheckHook, setuptools, setuptools-scm, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "aioboto3"; version = "15.5.0"; pyproject = true; Loading @@ -22,7 +33,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "terricain"; repo = "aioboto3"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-yGKjcZlXs1f72OGX5rUWvfDKZAYU3ZV2RVQnd0InxBQ="; }; Loading Loading @@ -53,10 +64,17 @@ buildPythonPackage rec { pytestCheckHook ] ++ moto.optional-dependencies.server ++ lib.concatAttrValues optional-dependencies; ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; disabledTests = [ "test_patches" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky: PermissionError: [Errno 13] Permission denied: '/tmp/somefile' "test_s3_copy" "test_s3_copy_multipart" "test_s3_download_file_404" "test_s3_upload_file" ]; pythonImportsCheck = [ "aioboto3" ]; Loading @@ -64,8 +82,8 @@ buildPythonPackage rec { meta = { description = "Wrapper to use boto3 resources with the aiobotocore async backend"; homepage = "https://github.com/terricain/aioboto3"; changelog = "https://github.com/terricain/aioboto3/blob/${src.rev}/CHANGELOG.rst"; changelog = "https://github.com/terricain/aioboto3/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.asl20; maintainers = [ ]; }; } }) Loading
pkgs/development/python-modules/aioboto3/default.nix +27 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, setuptools-scm, # dependencies aiobotocore, aiofiles, buildPythonPackage, # optional-dependencies # chalice chalice, # s3cse cryptography, # tests dill, fetchFromGitHub, moto, pytest-asyncio, pytestCheckHook, setuptools, setuptools-scm, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "aioboto3"; version = "15.5.0"; pyproject = true; Loading @@ -22,7 +33,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "terricain"; repo = "aioboto3"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-yGKjcZlXs1f72OGX5rUWvfDKZAYU3ZV2RVQnd0InxBQ="; }; Loading Loading @@ -53,10 +64,17 @@ buildPythonPackage rec { pytestCheckHook ] ++ moto.optional-dependencies.server ++ lib.concatAttrValues optional-dependencies; ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; disabledTests = [ "test_patches" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky: PermissionError: [Errno 13] Permission denied: '/tmp/somefile' "test_s3_copy" "test_s3_copy_multipart" "test_s3_download_file_404" "test_s3_upload_file" ]; pythonImportsCheck = [ "aioboto3" ]; Loading @@ -64,8 +82,8 @@ buildPythonPackage rec { meta = { description = "Wrapper to use boto3 resources with the aiobotocore async backend"; homepage = "https://github.com/terricain/aioboto3"; changelog = "https://github.com/terricain/aioboto3/blob/${src.rev}/CHANGELOG.rst"; changelog = "https://github.com/terricain/aioboto3/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.asl20; maintainers = [ ]; }; } })