From 98111032e3744bbcf94c27b3ab6b32b6c034423f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Feb 2024 10:51:02 +0100 Subject: [PATCH] python311Packages.boto3: refactor --- pkgs/development/python-modules/boto3/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index 3a48019b2e99..e0e17a8f3de0 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -1,13 +1,14 @@ { lib +, botocore , buildPythonPackage , pythonOlder , fetchFromGitHub -, botocore , jmespath +, pytestCheckHook +, pythonOlder , s3transfer , pythonRelaxDepsHook , setuptools -, pytestCheckHook }: buildPythonPackage rec { @@ -19,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "boto"; - repo = pname; + repo = "boto3"; rev = "refs/tags/${version}"; hash = "sha256-oOrUVBh1sbaOibU8A+bGZ4z7IEiE4gjHwZ+8889Hv60="; }; @@ -54,14 +55,16 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - crt = [ botocore.optional-dependencies.crt ]; + crt = [ + botocore.optional-dependencies.crt + ]; }; meta = with lib; { + description = "AWS SDK for Python"; 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