From 4e83f670c7555b7f644b03a0eecd622721217f93 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Feb 2024 10:51:25 +0100 Subject: [PATCH] python311Packages.botocore: refactor --- .../python-modules/botocore/default.nix | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/botocore/default.nix b/pkgs/development/python-modules/botocore/default.nix index bc1454b70ff1..b178f5606aaa 100644 --- a/pkgs/development/python-modules/botocore/default.nix +++ b/pkgs/development/python-modules/botocore/default.nix @@ -1,13 +1,14 @@ { lib -, buildPythonPackage -, pythonOlder -, fetchPypi -, python-dateutil -, jmespath -, urllib3 -, pytestCheckHook -, jsonschema , awscrt +, buildPythonPackage +, fetchPypi +, jmespath +, jsonschema +, pytestCheckHook +, python-dateutil +, pythonOlder +, setuptools +, urllib3 }: buildPythonPackage rec { @@ -22,15 +23,19 @@ buildPythonPackage rec { hash = "sha256-IZg7sEc6GRMBksUOxpdNVfDEqkinCUvPQPeILItpuPE="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ - python-dateutil jmespath + python-dateutil urllib3 ]; nativeCheckInputs = [ - pytestCheckHook jsonschema + pytestCheckHook ]; disabledTestPaths = [ @@ -46,14 +51,16 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - crt = [ awscrt ]; + crt = [ + awscrt + ]; }; meta = with lib; { + description = "A low-level interface to a growing number of Amazon Web Services"; homepage = "https://github.com/boto/botocore"; changelog = "https://github.com/boto/botocore/blob/${version}/CHANGELOG.rst"; license = licenses.asl20; - description = "A low-level interface to a growing number of Amazon Web Services"; maintainers = with maintainers; [ anthonyroussel ]; }; }