1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 jmespath,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "aliyun-python-sdk-core";
13 version = "2.15.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-UYVQ0H9TfNOvrDtsk7XJl840QOTQwFTjrL2qgmHpCt8=";
21 };
22
23 pythonRelaxDeps = true;
24
25 build-system = [ setuptools ];
26
27
28 dependencies = [
29 cryptography
30 jmespath
31 ];
32
33 # All components are stored in a mono repo
34 doCheck = false;
35
36 pythonImportsCheck = [ "aliyunsdkcore" ];
37
38 meta = with lib; {
39 description = "Core module of Aliyun Python SDK";
40 homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
41 changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-core/ChangeLog.txt";
42 license = licenses.asl20;
43 maintainers = with maintainers; [ fab ];
44 };
45}