1{
2 lib,
3 aliyun-python-sdk-core,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "aliyun-python-sdk-sts";
11 version = "3.1.3";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-Iv7bi60T+WbnEaH0Zi7te52zNEG8BapLD5GKoB4JuWc=";
19 };
20
21 propagatedBuildInputs = [ aliyun-python-sdk-core ];
22
23 # All components are stored in a mono repo
24 doCheck = false;
25
26 pythonImportsCheck = [ "aliyunsdksts" ];
27
28 meta = with lib; {
29 description = "STS module of Aliyun Python SDK";
30 homepage = "https://github.com/aliyun/aliyun-openapi-python-sdk";
31 changelog = "https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-sts/ChangeLog.txt";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ fab ];
34 };
35}