mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
Merge pull request #291016 from fabaff/tencentcloud
python311Packages.tencentcloud-sdk-python: init at 3.0.1094
This commit is contained in:
commit
cb7e28ccd9
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tencentcloud-sdk-python";
|
||||
version = "3.0.1094";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TencentCloud";
|
||||
repo = "tencentcloud-sdk-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-h2p9auD8bTDbagAmjsmV06Z75I93LB6h+/ZYyt17ow0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tencentcloud"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Other tests require credentials
|
||||
"tests/unit/test_deserialize_warning.py"
|
||||
"tests/unit/test_import.py"
|
||||
"tests/unit/test_serialization.py"
|
||||
];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -14321,6 +14321,8 @@ self: super: with self; {
|
||||
|
||||
tenacity = callPackage ../development/python-modules/tenacity { };
|
||||
|
||||
tencentcloud-sdk-python = callPackage ../development/python-modules/tencentcloud-sdk-python { };
|
||||
|
||||
tensorboard-data-server = callPackage ../development/python-modules/tensorboard-data-server { };
|
||||
|
||||
tensorboard-plugin-profile = callPackage ../development/python-modules/tensorboard-plugin-profile { };
|
||||
|
Loading…
Reference in New Issue
Block a user