2024-04-16 11:08:59 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
cryptography,
|
|
|
|
fetchPypi,
|
|
|
|
jmespath,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2022-08-13 18:06:44 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aliyun-python-sdk-core";
|
2024-10-17 23:28:20 +02:00
|
|
|
version = "2.16.0";
|
2024-04-16 11:08:36 +02:00
|
|
|
pyproject = true;
|
2022-08-13 18:06:44 +02:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-10-17 23:28:20 +02:00
|
|
|
hash = "sha256-ZRyq1ZfrOdT61s+FEz3/6Sg31TvfYtudjzfatlCLuPk=";
|
2022-08-13 18:06:44 +02:00
|
|
|
};
|
|
|
|
|
2024-04-16 11:08:36 +02:00
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
2024-04-16 11:08:59 +02:00
|
|
|
build-system = [ setuptools ];
|
2024-04-16 11:08:36 +02:00
|
|
|
|
|
|
|
dependencies = [
|
2022-08-13 18:06:44 +02:00
|
|
|
cryptography
|
|
|
|
jmespath
|
|
|
|
];
|
|
|
|
|
|
|
|
# All components are stored in a mono repo
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-16 11:08:59 +02:00
|
|
|
pythonImportsCheck = [ "aliyunsdkcore" ];
|
2022-08-13 18:06:44 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Core module of Aliyun Python SDK";
|
|
|
|
homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
|
2022-12-05 08:42:53 +01:00
|
|
|
changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-core/ChangeLog.txt";
|
2022-08-13 18:06:44 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|