mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
10f8156d49
Diff: https://github.com/boto/boto3/compare/1.26.38...1.26.79 Changelog: https://github.com/boto/boto3/blob/1.26.79/CHANGELOG.rst
58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, botocore
|
|
, jmespath
|
|
, s3transfer
|
|
, setuptools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "boto3";
|
|
version = "1.26.79"; # N.B: if you change this, change botocore and awscli to a matching version
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "boto";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-9Xsng4xZ+IGNZ3ViYVrOyKZdRH6QPSjZALj9Q3HECBU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
botocore
|
|
jmespath
|
|
s3transfer
|
|
setuptools
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"boto3"
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# Integration tests require networking
|
|
"tests/integration"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/boto/boto3";
|
|
changelog = "https://github.com/boto/boto3/blob/${version}/CHANGELOG.rst";
|
|
license = licenses.asl20;
|
|
description = "AWS SDK for Python";
|
|
longDescription = ''
|
|
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
|
|
Python, which allows Python developers to write software that makes use of
|
|
services like Amazon S3 and Amazon EC2.
|
|
'';
|
|
maintainers = with maintainers; [ anthonyroussel ];
|
|
};
|
|
}
|