From cca5a2286cc6fe96992af8a294fe71f42d581ca0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:54:38 +0200 Subject: [PATCH 1/2] python312Packages.velbus-aio: 2024.4.0 -> 2024.4.1 Diff: https://github.com/Cereal2nd/velbus-aio/compare/refs/tags/2024.4.0...2024.4.1 Changelog: https://github.com/Cereal2nd/velbus-aio/releases/tag/2024.4.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 abd3fbd0acb2..b0992e10aa74 100644 --- a/pkgs/development/python-modules/velbus-aio/default.nix +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "velbus-aio"; - version = "2024.4.0"; + version = "2024.4.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Cereal2nd"; repo = "velbus-aio"; rev = "refs/tags/${version}"; - hash = "sha256-wYcASRmUxVdUpfKlNIteQlHw3ZaYxZ7VenKtaju1yTE="; + hash = "sha256-rskWnH5zFvBuNL5eJ8O4D6htRP/XtFcq1xH8ZXzT1I4="; fetchSubmodules = true; }; From 1a4dc94d1e30d5c02aeee1b21a962d09c8c582a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:55:12 +0200 Subject: [PATCH 2/2] python312Packages.velbus-aio: format with nixfmt --- .../python-modules/velbus-aio/default.nix | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/velbus-aio/default.nix b/pkgs/development/python-modules/velbus-aio/default.nix index b0992e10aa74..f754c828dea3 100644 --- a/pkgs/development/python-modules/velbus-aio/default.nix +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -1,12 +1,13 @@ -{ lib -, backoff -, buildPythonPackage -, fetchFromGitHub -, pythonOlder -, pyserial -, pyserial-asyncio -, pytestCheckHook -, setuptools +{ + lib, + backoff, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + pyserial, + pyserial-asyncio, + pytestCheckHook, + setuptools, }: buildPythonPackage rec { @@ -24,9 +25,7 @@ buildPythonPackage rec { fetchSubmodules = true; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ backoff @@ -34,13 +33,9 @@ buildPythonPackage rec { pyserial-asyncio ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "velbusaio" - ]; + pythonImportsCheck = [ "velbusaio" ]; meta = with lib; { description = "Python library to support the Velbus home automation system";