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