Merge pull request #118809 from fabaff/webexteamssdk
This commit is contained in:
commit
79d2bf4c84
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -116,7 +116,7 @@
|
|||||||
"circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
|
"circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
|
||||||
"cisco_ios" = ps: with ps; [ pexpect ];
|
"cisco_ios" = ps: with ps; [ pexpect ];
|
||||||
"cisco_mobility_express" = ps: with ps; [ ciscomobilityexpress ];
|
"cisco_mobility_express" = ps: with ps; [ ciscomobilityexpress ];
|
||||||
"cisco_webex_teams" = ps: with ps; [ ]; # missing inputs: webexteamssdk
|
"cisco_webex_teams" = ps: with ps; [ webexteamssdk ];
|
||||||
"citybikes" = ps: with ps; [ ];
|
"citybikes" = ps: with ps; [ ];
|
||||||
"clementine" = ps: with ps; [ ]; # missing inputs: python-clementine-remote
|
"clementine" = ps: with ps; [ ]; # missing inputs: python-clementine-remote
|
||||||
"clickatell" = ps: with ps; [ ];
|
"clickatell" = ps: with ps; [ ];
|
||||||
|
@ -8852,6 +8852,8 @@ in {
|
|||||||
|
|
||||||
webencodings = callPackage ../development/python-modules/webencodings { };
|
webencodings = callPackage ../development/python-modules/webencodings { };
|
||||||
|
|
||||||
|
webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
|
||||||
|
|
||||||
webhelpers = callPackage ../development/python-modules/webhelpers { };
|
webhelpers = callPackage ../development/python-modules/webhelpers { };
|
||||||
|
|
||||||
webob = callPackage ../development/python-modules/webob { };
|
webob = callPackage ../development/python-modules/webob { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user