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