evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / webexteamssdk / default.nix
blob30eeb64d83a14396491b9e8e81220225e44994b4
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   future,
6   pyjwt,
7   pythonOlder,
8   requests,
9   requests-toolbelt,
10   setuptools,
11   versioneer,
14 buildPythonPackage rec {
15   pname = "webexteamssdk";
16   version = "1.6.1";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "CiscoDevNet";
23     repo = "webexteamssdk";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo=";
26   };
28   postPatch = ''
29     # Remove vendorized versioneer
30     rm versioneer.py
31   '';
33   build-system = [
34     setuptools
35     versioneer
36   ];
38   dependencies = [
39     future
40     pyjwt
41     requests
42     requests-toolbelt
43   ];
45   # Tests require a Webex Teams test domain
46   doCheck = false;
48   pythonImportsCheck = [ "webexteamssdk" ];
50   meta = with lib; {
51     description = "Python module for Webex Teams APIs";
52     homepage = "https://github.com/CiscoDevNet/webexteamssdk";
53     changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}";
54     license = with licenses; [ mit ];
55     maintainers = with maintainers; [ fab ];
56   };