From 99a65b1c4a808d86ab73f1b8816ff0b91a95f0a1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 19 Feb 2025 10:41:02 +0100 Subject: [PATCH] python313Packages.aiortm: 0.9.45 -> 0.10.0 Diff: https://github.com/MartinHjelmare/aiortm/compare/refs/tags/v0.9.45...v0.10.0 Changelog: https://github.com/MartinHjelmare/aiortm/blob/v0.10.0/CHANGELOG.md --- .../python-modules/aiortm/default.nix | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index b41a55fc219c..15d9bee935be 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -4,22 +4,20 @@ aioresponses, buildPythonPackage, ciso8601, - click, fetchFromGitHub, mashumaro, - poetry-core, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, - rich, + setuptools, typer, yarl, }: buildPythonPackage rec { pname = "aiortm"; - version = "0.9.45"; + version = "0.10.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -28,29 +26,30 @@ buildPythonPackage rec { owner = "MartinHjelmare"; repo = "aiortm"; tag = "v${version}"; - hash = "sha256-5PbfadI80hIdqUh/7tenTD3buiM7tcGauDqhv2uHNDs="; + hash = "sha256-YclrU24eyk88eOc/nlgeWJ/Fo9SveCzRqQCKYAA9Y9s="; }; pythonRelaxDeps = [ "typer" ]; - build-system = [ poetry-core ]; + build-system = [ setuptools ]; dependencies = [ aiohttp ciso8601 - click mashumaro - rich - typer yarl ]; + optional-dependencies = { + cli = [ typer ]; + }; + nativeCheckInputs = [ aioresponses pytest-asyncio pytest-cov-stub pytestCheckHook - ]; + ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "aiortm" ]; @@ -58,7 +57,7 @@ buildPythonPackage rec { description = "Library for the Remember the Milk API"; homepage = "https://github.com/MartinHjelmare/aiortm"; changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 ]; + license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "aiortm"; };