python312Packages.boto{core,3}: 1.34.131 -> 1.35.30, awscli: 1.33.13 -> 1.34.30 (#345657)
This commit is contained in:
commit
524cecfcf8
@ -1,14 +1,19 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
botocore,
|
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
|
||||||
|
# build-system
|
||||||
|
setuptools,
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
botocore,
|
||||||
jmespath,
|
jmespath,
|
||||||
|
s3transfer,
|
||||||
|
|
||||||
|
# tests
|
||||||
pytest-xdist,
|
pytest-xdist,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
|
||||||
s3transfer,
|
|
||||||
setuptools,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -16,22 +21,20 @@ buildPythonPackage rec {
|
|||||||
inherit (botocore) version; # N.B: botocore, boto3, awscli needs to be updated in lockstep, bump botocore version for updating these.
|
inherit (botocore) version; # N.B: botocore, boto3, awscli needs to be updated in lockstep, bump botocore version for updating these.
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "boto";
|
owner = "boto";
|
||||||
repo = "boto3";
|
repo = "boto3";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-4WP5E8LuuxWZi8DK8yOpvyy6isSfB4eFcbctkTEd3As=";
|
hash = "sha256-b08tC8EA6iW0O/7rseD9pTkKh/cJ2fe3xJZkEqxS6VI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [ "s3transfer" ];
|
pythonRelaxDeps = [ "s3transfer" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
botocore
|
botocore
|
||||||
jmespath
|
jmespath
|
||||||
s3transfer
|
s3transfer
|
||||||
@ -53,16 +56,16 @@ buildPythonPackage rec {
|
|||||||
crt = [ botocore.optional-dependencies.crt ];
|
crt = [ botocore.optional-dependencies.crt ];
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "AWS SDK for Python";
|
description = "AWS SDK for Python";
|
||||||
homepage = "https://github.com/boto/boto3";
|
homepage = "https://github.com/boto/boto3";
|
||||||
changelog = "https://github.com/boto/boto3/blob/${version}/CHANGELOG.rst";
|
changelog = "https://github.com/boto/boto3/blob/${version}/CHANGELOG.rst";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
|
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
|
||||||
Python, which allows Python developers to write software that makes use of
|
Python, which allows Python developers to write software that makes use of
|
||||||
services like Amazon S3 and Amazon EC2.
|
services like Amazon S3 and Amazon EC2.
|
||||||
'';
|
'';
|
||||||
maintainers = with maintainers; [ anthonyroussel ];
|
maintainers = with lib.maintainers; [ anthonyroussel ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,34 +3,35 @@
|
|||||||
awscrt,
|
awscrt,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
|
|
||||||
|
# build-system
|
||||||
|
setuptools,
|
||||||
|
|
||||||
|
# dependencies
|
||||||
jmespath,
|
jmespath,
|
||||||
|
python-dateutil,
|
||||||
|
urllib3,
|
||||||
|
|
||||||
|
# tests
|
||||||
jsonschema,
|
jsonschema,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
python-dateutil,
|
|
||||||
pythonOlder,
|
|
||||||
setuptools,
|
|
||||||
urllib3,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "botocore";
|
pname = "botocore";
|
||||||
version = "1.35.29"; # N.B: if you change this, change boto3 and awscli to a matching version
|
version = "1.35.30"; # N.B: if you change this, change boto3 and awscli to a matching version
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-TtKKsDZ1uwCKKQxFLF3deqpdTj+hkSqtvfkwV+6ENis=";
|
hash = "sha256-q1NQ6KUOSNNx+i1RfWXCmkDEN4jLmhU4f5PqxaI98P0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [ "urllib3" ];
|
build-system = [
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
jmespath
|
jmespath
|
||||||
python-dateutil
|
python-dateutil
|
||||||
urllib3
|
urllib3
|
||||||
@ -55,11 +56,11 @@ buildPythonPackage rec {
|
|||||||
crt = [ awscrt ];
|
crt = [ awscrt ];
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Low-level interface to a growing number of Amazon Web Services";
|
description = "Low-level interface to a growing number of Amazon Web Services";
|
||||||
homepage = "https://github.com/boto/botocore";
|
homepage = "https://github.com/boto/botocore";
|
||||||
changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst";
|
changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with maintainers; [ anthonyroussel ];
|
maintainers = with lib.maintainers; [ anthonyroussel ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13,12 +13,12 @@ let
|
|||||||
pname = "awscli";
|
pname = "awscli";
|
||||||
# N.B: if you change this, change botocore and boto3 to a matching version too
|
# N.B: if you change this, change botocore and boto3 to a matching version too
|
||||||
# check e.g. https://github.com/aws/aws-cli/blob/1.33.21/setup.py
|
# check e.g. https://github.com/aws/aws-cli/blob/1.33.21/setup.py
|
||||||
version = "1.34.29";
|
version = "1.34.30";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-2w9z6f8ThKIISEiExePHObUZzBrdltP3AfZqKh8d1Mo=";
|
hash = "sha256-7RdAqXdCnS7dzkGQHJHclR2KuBbSbd+epGMQDbDlYxY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
@ -32,7 +32,7 @@ let
|
|||||||
python3.pkgs.setuptools
|
python3.pkgs.setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
dependencies = with python3.pkgs; [
|
||||||
botocore
|
botocore
|
||||||
s3transfer
|
s3transfer
|
||||||
colorama
|
colorama
|
||||||
@ -76,13 +76,13 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://aws.amazon.com/cli/";
|
homepage = "https://aws.amazon.com/cli/";
|
||||||
changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst";
|
changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst";
|
||||||
description = "Unified tool to manage your AWS services";
|
description = "Unified tool to manage your AWS services";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
mainProgram = "aws";
|
mainProgram = "aws";
|
||||||
maintainers = with maintainers; [ anthonyroussel ];
|
maintainers = with lib.maintainers; [ anthonyroussel ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user