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.16.0";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-ZRyq1ZfrOdT61s+FEz3/6Sg31TvfYtudjzfatlCLuPk=";
21 };
22
23 pythonRelaxDeps = true;
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 cryptography
29 jmespath
30 ];
31
32 # All components are stored in a mono repo
33 doCheck = false;
34
35 pythonImportsCheck = [ "aliyunsdkcore" ];
36
37 meta = with lib; {
38 description = "Core module of Aliyun Python SDK";
39 homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
40 changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-core/ChangeLog.txt";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ fab ];
43 };
44}