python312Packages.aliyun-python-sdk-core: refactor

This commit is contained in:
Fabian Affolter 2024-04-16 11:08:36 +02:00
parent 5cc869f235
commit bb69c640bc
1 changed files with 9 additions and 4 deletions

View File

@ -5,12 +5,13 @@
, jmespath
, pythonOlder
, pythonRelaxDepsHook
, setuptools
}:
buildPythonPackage rec {
pname = "aliyun-python-sdk-core";
version = "2.15.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -19,11 +20,17 @@ buildPythonPackage rec {
hash = "sha256-UYVQ0H9TfNOvrDtsk7XJl840QOTQwFTjrL2qgmHpCt8=";
};
pythonRelaxDeps = true;
build-system = [
setuptools
];
nativeBuildInputs = [
pythonRelaxDepsHook
];
propagatedBuildInputs = [
dependencies = [
cryptography
jmespath
];
@ -31,8 +38,6 @@ buildPythonPackage rec {
# All components are stored in a mono repo
doCheck = false;
pythonRelaxDeps = true;
pythonImportsCheck = [
"aliyunsdkcore"
];