Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / webexteamssdk / default.nix
blob1e81e90af9a60d36aa365187280e2a34c4353432
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , future
5 , pyjwt
6 , pythonOlder
7 , requests
8 , requests-toolbelt
9 }:
11 buildPythonPackage rec {
12   pname = "webexteamssdk";
13   version = "1.6.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "CiscoDevNet";
20     repo = pname;
21     rev = "v${version}";
22     hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo=";
23   };
25   propagatedBuildInputs = [
26     future
27     pyjwt
28     requests
29     requests-toolbelt
30   ];
32   # Tests require a Webex Teams test domain
33   doCheck = false;
35   pythonImportsCheck = [
36     "webexteamssdk"
37   ];
39   meta = with lib; {
40     description = "Python module for Webex Teams APIs";
41     homepage = "https://github.com/CiscoDevNet/webexteamssdk";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };