From 2e5066e8709cd0ae08559a09238cd500b9ea9973 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 7 Aug 2024 12:01:39 +0200 Subject: [PATCH] python312Packages.aioswitcher: 3.4.3 -> 4.0.3 Diff: https://github.com/TomerFi/aioswitcher/compare/refs/tags/3.4.3...4.0.3 Changelog: https://github.com/TomerFi/aioswitcher/releases/tag/4.0.0 https://github.com/TomerFi/aioswitcher/releases/tag/4.0.1 https://github.com/TomerFi/aioswitcher/releases/tag/4.0.2 https://github.com/TomerFi/aioswitcher/releases/tag/4.0.3 --- .../python-modules/aioswitcher/default.nix | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index cfdde67b22dd..e8a5c4e3ba29 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -1,13 +1,15 @@ { lib, + aiohttp, assertpy, buildPythonPackage, fetchFromGitHub, + freezegun, poetry-core, + pycryptodome, pytest-asyncio, pytest-mockservers, pytest-resource-path, - pytest-sugar, pytestCheckHook, pythonAtLeast, pythonOlder, @@ -16,21 +18,28 @@ buildPythonPackage rec { pname = "aioswitcher"; - version = "3.4.3"; + version = "4.0.3"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "TomerFi"; - repo = pname; + repo = "aioswitcher"; rev = "refs/tags/${version}"; - hash = "sha256-yKHSExtnO9m8Tc3BmCqV8tJs59ynKOqUmekaOatGRTc="; + hash = "sha256-QSnroxVHlfZd6QDaqUTMyoctiEsxWmGmFxzql1YIAD0="; }; __darwinAllowLocalNetworking = true; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; + + pythonRelaxDeps = [ "aiohttp" ]; + + dependencies = [ + aiohttp + pycryptodome + ]; preCheck = '' export TZ=Asia/Jerusalem @@ -38,10 +47,10 @@ buildPythonPackage rec { nativeCheckInputs = [ assertpy + freezegun pytest-asyncio pytest-mockservers pytest-resource-path - pytest-sugar pytestCheckHook time-machine ];