From 5749241bc01be4b18d3b3a12f9094e89c6f8d524 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 14:06:11 +0000 Subject: [PATCH 1/3] python312Packages.aiolifx-themes: 0.4.12 -> 0.4.14 --- pkgs/development/python-modules/aiolifx-themes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index 8a10eb3cdb9b..788d4c969743 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aiolifx-themes"; - version = "0.4.12"; + version = "0.4.14"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "Djelibeybi"; repo = "aiolifx-themes"; rev = "refs/tags/v${version}"; - hash = "sha256-dV8xLZQaWiCSqXsY45vme4IMPT6UDmeAOkxEEU5UIW4="; + hash = "sha256-KlQKRcgxaWqRKIusnZGoBDEfKYF1Gn9EkrhJAftdUTc="; }; prePatch = '' From 758347dff5121a36d85d619aa9c3e5ac480b3ecc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 16:31:59 +0200 Subject: [PATCH 2/3] python312Packages.aiolifx-themes: refactor --- .../development/python-modules/aiolifx-themes/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index 788d4c969743..df85e71e19e8 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -27,15 +27,15 @@ buildPythonPackage rec { prePatch = '' # Don't run coverage, or depend on typer for no reason. substituteInPlace pyproject.toml \ - --replace " --cov=aiolifx_themes --cov-report=term-missing:skip-covered" "" \ - --replace "typer = " "# unused: typer = " + --replace-fail " --cov=aiolifx_themes --cov-report=term-missing:skip-covered" "" \ + --replace-fail "typer = " "# unused: typer = " ''; - nativeBuildInputs = [ + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiolifx ]; From 2dc00727848d5b66aececfcbb7c828df335d9195 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 16:32:23 +0200 Subject: [PATCH 3/3] python312Packages.aiolifx-themes: format with nixfmt --- .../python-modules/aiolifx-themes/default.nix | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index df85e71e19e8..33f3c963f5ea 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -1,13 +1,14 @@ -{ lib -, aiolifx -, async-timeout -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, typer +{ + lib, + aiolifx, + async-timeout, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + typer, }: buildPythonPackage rec { @@ -31,13 +32,9 @@ buildPythonPackage rec { --replace-fail "typer = " "# unused: typer = " ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - dependencies = [ - aiolifx - ]; + dependencies = [ aiolifx ]; nativeCheckInputs = [ async-timeout @@ -45,9 +42,7 @@ buildPythonPackage rec { pytest-asyncio ]; - pythonImportsCheck = [ - "aiolifx_themes" - ]; + pythonImportsCheck = [ "aiolifx_themes" ]; meta = with lib; { description = "Color themes for LIFX lights running on aiolifx";