11 buildPythonPackage rec {
12 pname = "tencentcloud-sdk-python";
16 disabled = pythonOlder "3.9";
18 src = fetchFromGitHub {
19 owner = "TencentCloud";
20 repo = "tencentcloud-sdk-python";
21 rev = "refs/tags/${version}";
22 hash = "sha256-TKS3FziUuH1PJbdY+J/MVDT3YzzNFLXS0jDYRKiyoU8=";
25 build-system = [ setuptools ];
27 dependencies = [ requests ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "tencentcloud" ];
34 # Other tests require credentials
35 "tests/unit/test_deserialize_warning.py"
36 "tests/unit/test_import.py"
37 "tests/unit/test_serialization.py"
41 description = "Tencent Cloud API 3.0 SDK for Python";
42 homepage = "https://github.com/TencentCloud/tencentcloud-sdk-python";
43 changelog = "https://github.com/TencentCloud/tencentcloud-sdk-python/blob/${version}/CHANGELOG.md";
44 license = licenses.asl20;
45 maintainers = with maintainers; [ fab ];