mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
07b609f199
Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1275...3.0.1277 Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1277/CHANGELOG.md
43 lines
986 B
Nix
43 lines
986 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
requests,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tencentcloud-sdk-python";
|
|
version = "3.0.1277";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TencentCloud";
|
|
repo = "tencentcloud-sdk-python";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-4HgrzI3vHPZIFa8H/EqWF9GgGEJetd/+BVMgbYTvmA8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "tencentcloud" ];
|
|
|
|
pytestFlagsArray = [ "tests/unit/" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tencent Cloud API 3.0 SDK for Python";
|
|
homepage = "https://github.com/TencentCloud/tencentcloud-sdk-python";
|
|
changelog = "https://github.com/TencentCloud/tencentcloud-sdk-python/blob/${version}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|