From 0fd251527577dd6d5895703ce53aa4ae309c89f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 11 Nov 2024 13:18:42 +0100 Subject: [PATCH] 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 --- .../python-modules/webexteamssdk/default.nix | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/webexteamssdk/default.nix b/pkgs/development/python-modules/webexteamssdk/default.nix index 30eeb64d83a1..d44f10340be9 100644 --- a/pkgs/development/python-modules/webexteamssdk/default.nix +++ b/pkgs/development/python-modules/webexteamssdk/default.nix @@ -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 ]; }; }