From 9352c673cc419a7b3d5a9f148c231d6ab045dff5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 12 Apr 2024 07:16:44 +0000 Subject: [PATCH 1/3] python312Packages.aiortm: 0.8.10 -> 0.8.11 --- pkgs/development/python-modules/aiortm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 89ffdf6827cb..7209364c1761 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "aiortm"; - version = "0.8.10"; + version = "0.8.11"; pyproject = true; disabled = pythonOlder "3.9"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "MartinHjelmare"; repo = "aiortm"; rev = "refs/tags/v${version}"; - hash = "sha256-WkVuuvWWdj2McdXl+XwYukUcloehelFIi6QL5LSkfLk="; + hash = "sha256-VvpdeupBW8wZyNnAx9cvp0Li5z3D/AnqipTEGTsd2IE="; }; postPatch = '' From 7c5abad9c2191cbc763cf1e9ab3a6f24c2aa4db4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:26:41 +0200 Subject: [PATCH 2/3] python312Packages.aiortm: refactor --- pkgs/development/python-modules/aiortm/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 7209364c1761..fe58b5cbdf64 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -29,14 +29,14 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace-warn " --cov=aiortm --cov-report=term-missing:skip-covered" "" + --replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" "" ''; - nativeBuildInputs = [ + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp ciso8601 click @@ -56,10 +56,10 @@ buildPythonPackage rec { meta = with lib; { description = "Library for the Remember the Milk API"; - mainProgram = "aiortm"; homepage = "https://github.com/MartinHjelmare/aiortm"; changelog = "https://github.com/MartinHjelmare/aiortm/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; + mainProgram = "aiortm"; }; } From 8f0e4dbb0b2955d2be6dc298e4fd7fe8e7cbf29d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Apr 2024 09:27:03 +0200 Subject: [PATCH 3/3] python312Packages.aiortm: format with nixfmt --- .../python-modules/aiortm/default.nix | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index fe58b5cbdf64..f9776a0cb6f1 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -1,16 +1,17 @@ -{ lib -, aiohttp -, aioresponses -, buildPythonPackage -, ciso8601 -, click -, fetchFromGitHub -, mashumaro -, poetry-core -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, yarl +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + ciso8601, + click, + fetchFromGitHub, + mashumaro, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + yarl, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { --replace-fail " --cov=aiortm --cov-report=term-missing:skip-covered" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ aiohttp @@ -50,9 +49,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "aiortm" - ]; + pythonImportsCheck = [ "aiortm" ]; meta = with lib; { description = "Library for the Remember the Milk API";