1{
2 lib,
3 aliyun-python-sdk-core,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "aliyun-python-sdk-iot";
11 version = "8.59.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-v0jTMKtYrbEBVjHQokpWSlcJBALZFsuoYHq8wCP8w1E=";
19 };
20
21 propagatedBuildInputs = [ aliyun-python-sdk-core ];
22
23 # All components are stored in a mono repo
24 doCheck = false;
25
26 pythonImportsCheck = [ "aliyunsdkiot" ];
27
28 meta = with lib; {
29 description = "IoT 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-iot/ChangeLog.txt";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ fab ];
34 };
35}