From 5ea1493afdb5838f6f58e9c4715a324f8c62e7a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jan 2024 06:47:09 +0100 Subject: [PATCH 1/3] python311Packages.aioswitcher: 3.4.1 -> 3.4.2 Diff: https://github.com/TomerFi/aioswitcher/compare/refs/tags/3.4.1...3.4.2 Changelog: https://github.com/TomerFi/aioswitcher/releases/tag/3.4.2 --- pkgs/development/python-modules/aioswitcher/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index 7cb513897cb1..17172bba2f9e 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "aioswitcher"; - version = "3.4.1"; + version = "3.4.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "TomerFi"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-jam0pyVajk8z7s/Uk5yQZfbFQLDiJ2yRKDk7VMJpCKo="; + hash = "sha256-UpwIzwOl1yKqK8KxFDXAWoZFkQ+1r1sUcDfx6AxRdNw="; }; nativeBuildInputs = [ From c45beedcf1df2b0073220b5afb7bc3eb42d731b9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jan 2024 06:49:18 +0100 Subject: [PATCH 2/3] python311Packages.aioswitcher: refactor --- pkgs/development/python-modules/aioswitcher/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index 17172bba2f9e..c18db75027b6 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "aioswitcher"; version = "3.4.2"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -50,7 +50,6 @@ buildPythonPackage rec { "test_schedule_parser_with_a_daily_recurring_enabled_schedule_data" "test_schedule_parser_with_a_partial_daily_recurring_enabled_schedule_data" "test_schedule_parser_with_a_non_recurring_enabled_schedule_data" - "test_hexadecimale_timestamp_to_localtime_with_the_current_timestamp_should_return_a_time_string" ]; pythonImportsCheck = [ From 7574ea5310b9b41a6b13829b47498546afea9204 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jan 2024 09:55:26 +0100 Subject: [PATCH 3/3] python311Packages.aioswitcher: enable darwin build --- pkgs/development/python-modules/aioswitcher/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/aioswitcher/default.nix b/pkgs/development/python-modules/aioswitcher/default.nix index c18db75027b6..245f9f44a3ae 100644 --- a/pkgs/development/python-modules/aioswitcher/default.nix +++ b/pkgs/development/python-modules/aioswitcher/default.nix @@ -26,6 +26,8 @@ buildPythonPackage rec { hash = "sha256-UpwIzwOl1yKqK8KxFDXAWoZFkQ+1r1sUcDfx6AxRdNw="; }; + __darwinAllowLocalNetworking = true; + nativeBuildInputs = [ poetry-core ];