python3Packages.webexteamssdk: init at 1.6

This commit is contained in:
Fabian Affolter 2021-04-09 16:44:12 +02:00
parent 936f450e3d
commit 4dc34642e3
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, pyjwt
, requests
, requests_toolbelt
}:
buildPythonPackage rec {
pname = "webexteamssdk";
version = "1.6";
src = fetchFromGitHub {
owner = "CiscoDevNet";
repo = pname;
rev = "v${version}";
sha256 = "0bw28ag1iqyqlxz83m4qb3r94kipv5mpf3bsvc8zv5vh4dv52bp2";
};
propagatedBuildInputs = [
future
pyjwt
requests
requests_toolbelt
];
# Tests require a Webex Teams test domain
doCheck = false;
pythonImportsCheck = [ "webexteamssdk" ];
meta = with lib; {
description = "Python module for Webex Teams APIs";
homepage = "https://github.com/CiscoDevNet/webexteamssdk";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8834,6 +8834,8 @@ in {
webencodings = callPackage ../development/python-modules/webencodings { };
webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
webhelpers = callPackage ../development/python-modules/webhelpers { };
webob = callPackage ../development/python-modules/webob { };