python3Packages.webexteamssdk: init at 1.6
This commit is contained in:
parent
936f450e3d
commit
4dc34642e3
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/webexteamssdk/default.nix
Normal file
38
pkgs/development/python-modules/webexteamssdk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue