blob: dd3d854a42a20e6a2416cec91c10f09e29300539 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyjwt,
pythonOlder,
requests,
requests-toolbelt,
poetry-core,
poetry-dynamic-versioning,
}:
buildPythonPackage rec {
pname = "webexpythonsdk";
version = "2.0.5";
pyproject = true;
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "WebexCommunity";
repo = "WebexPythonSDK";
tag = "v${version}";
hash = "sha256-iRhl/JCktS+6yJhvMZ6Vv7oOF5ZVrPQiI4Bstsub0bM=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
pyjwt
requests
requests-toolbelt
];
# Tests require a Webex Teams test domain
doCheck = false;
pythonImportsCheck = [ "webexpythonsdk" ];
meta = {
description = "Python module for Webex Teams APIs";
homepage = "https://github.com/WebexCommunity/WebexPythonSDK";
changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|