From 15cf743cb21c3203bc85b71670befb6ef717d06a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 1 Jul 2024 13:25:12 +0200 Subject: [PATCH 1/2] python312Packages.velbus-aio: 2024.4.1 -> 2024.7.0 Diff: https://github.com/Cereal2nd/velbus-aio/compare/refs/tags/2024.4.1...2024.7.0 Changelog: https://github.com/Cereal2nd/velbus-aio/releases/tag/2024.7.0 --- .../python-modules/velbus-aio/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/velbus-aio/default.nix b/pkgs/development/python-modules/velbus-aio/default.nix index d7ba738dd86f..96a891c72839 100644 --- a/pkgs/development/python-modules/velbus-aio/default.nix +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -1,18 +1,20 @@ { lib, + aiofile, backoff, buildPythonPackage, fetchFromGitHub, pythonOlder, pyserial, pyserial-asyncio-fast, + pytest-asyncio, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "velbus-aio"; - version = "2024.5.1"; + version = "2024.7.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,19 +23,27 @@ buildPythonPackage rec { owner = "Cereal2nd"; repo = "velbus-aio"; rev = "refs/tags/${version}"; - hash = "sha256-rOuw1Iw6mGoXNSqxOlBappARzSGIlii03Hd8/3jWiQg="; + hash = "sha256-FR5tpCvuJuMhW2bl8tf8jaxyDS1E+Od5y93qazXcSto="; fetchSubmodules = true; }; build-system = [ setuptools ]; dependencies = [ + aiofile backoff pyserial pyserial-asyncio-fast ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + preCheck = '' + export HOME=$(mktemp -d) + ''; pythonImportsCheck = [ "velbusaio" ]; From 2633ccda874c374bc3ac8f1e99bf0ce61f7bd58a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Jul 2024 13:02:45 +0200 Subject: [PATCH 2/2] python312Packages.velbus-aio: 2024.7.0 -> 2024.7.1 Diff: https://github.com/Cereal2nd/velbus-aio/compare/refs/tags/2024.7.0...2024.7.1 Changelog: https://github.com/Cereal2nd/velbus-aio/releases/tag/2024.7.1 --- pkgs/development/python-modules/velbus-aio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/velbus-aio/default.nix b/pkgs/development/python-modules/velbus-aio/default.nix index 96a891c72839..3b1dbb241b8b 100644 --- a/pkgs/development/python-modules/velbus-aio/default.nix +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "velbus-aio"; - version = "2024.7.0"; + version = "2024.7.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "Cereal2nd"; repo = "velbus-aio"; rev = "refs/tags/${version}"; - hash = "sha256-FR5tpCvuJuMhW2bl8tf8jaxyDS1E+Od5y93qazXcSto="; + hash = "sha256-lKCeNQkI+KxhDZ2DYZPteLxJ5J1vBahyH2S7QTYAUiQ="; fetchSubmodules = true; };