mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
python311Packages.aiobotocore: refactor
This commit is contained in:
parent
8af3330161
commit
8676f4b496
@ -7,7 +7,10 @@
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, flask-cors
|
||||
, awscli
|
||||
, moto
|
||||
, boto3
|
||||
, setuptools
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -17,13 +20,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "aiobotocore";
|
||||
version = "2.9.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = pname;
|
||||
repo = "aiobotocore";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-cODdmP/O24fNIugzl4AYdf3g4Gzwx3JseYKbZKgEPbc=";
|
||||
};
|
||||
@ -34,6 +37,10 @@ buildPythonPackage rec {
|
||||
sed -i "s/'botocore>=.*'/'botocore'/" setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aioitertools
|
||||
@ -41,6 +48,15 @@ buildPythonPackage rec {
|
||||
wrapt
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
awscli = [
|
||||
awscli
|
||||
];
|
||||
boto3 = [
|
||||
boto3
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
dill
|
||||
flask
|
||||
|
Loading…
Reference in New Issue
Block a user