From b8250e27822a98bebcc0f590d787ac01209deb3b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Jan 2026 18:38:56 +0100 Subject: [PATCH] python3Packages.todoist-api-python: 2.1.7 -> 3.2.0 https://github.com/Doist/todoist-api-python/blob/v3.2.0/CHANGELOG.md This commit was automatically generated using update-python-libraries. --- .../todoist-api-python/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/todoist-api-python/default.nix b/pkgs/development/python-modules/todoist-api-python/default.nix index c832320646c8..f1434ebd4f9a 100644 --- a/pkgs/development/python-modules/todoist-api-python/default.nix +++ b/pkgs/development/python-modules/todoist-api-python/default.nix @@ -1,8 +1,10 @@ { lib, + annotated-types, buildPythonPackage, + dataclass-wizard, fetchFromGitHub, - poetry-core, + hatchling, pytest-asyncio, pytestCheckHook, pythonOlder, @@ -12,7 +14,7 @@ buildPythonPackage rec { pname = "todoist-api-python"; - version = "2.1.7"; + version = "3.2.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -21,12 +23,16 @@ buildPythonPackage rec { owner = "Doist"; repo = "todoist-api-python"; tag = "v${version}"; - hash = "sha256-qOb9qAwjQ0MqR+mdNEkt7W8SiBhZ8gRf01TsHDkLPS4="; + hash = "sha256-rdXYAPCs3PSIFfpBKMfNNRUOJJK5Y/IzY5bmhxTm4zw="; }; - build-system = [ poetry-core ]; + build-system = [ hatchling ]; - dependencies = [ requests ]; + dependencies = [ + annotated-types + dataclass-wizard + requests + ]; nativeCheckInputs = [ pytest-asyncio @@ -39,7 +45,7 @@ buildPythonPackage rec { meta = { description = "Library for the Todoist REST API"; homepage = "https://github.com/Doist/todoist-api-python"; - changelog = "https://github.com/Doist/todoist-api-python/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Doist/todoist-api-python/blob/${src.tag}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; };