mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python312Packages.webexteamssdk: 1.6.1 -> 2.0.1
Diff: https://github.com/CiscoDevNet/webexteamssdk/compare/refs/tags/v1.6.1...v2.0.1 Changelog: https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v2.0.1
This commit is contained in:
parent
732608dc68
commit
0fd2515275
@ -3,36 +3,31 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
future,
|
||||
poetry-core,
|
||||
poetry-dynamic-versioning,
|
||||
pyjwt,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
setuptools,
|
||||
versioneer,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webexteamssdk";
|
||||
version = "1.6.1";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CiscoDevNet";
|
||||
repo = "webexteamssdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo=";
|
||||
hash = "sha256-ENAUUicVO/Br7k+RFHCGzQ7BIG0CP7jTYM3tzs5EAZQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Remove vendorized versioneer
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
poetry-core
|
||||
poetry-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@ -45,13 +40,13 @@ buildPythonPackage rec {
|
||||
# Tests require a Webex Teams test domain
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "webexteamssdk" ];
|
||||
pythonImportsCheck = [ "webexpythonsdk" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Webex Teams APIs";
|
||||
homepage = "https://github.com/CiscoDevNet/webexteamssdk";
|
||||
changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user