From 580dd102fcf3705bb34b5cd9b9f960f55ca63f76 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 5 May 2026 03:26:29 +0000 Subject: [PATCH 1/3] python3Packages.busylight-for-humans: 0.45.3 -> 0.48.0 --- .../python-modules/busylight-for-humans/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/busylight-for-humans/default.nix b/pkgs/development/python-modules/busylight-for-humans/default.nix index 0ff201b1e4e7..94e48e370886 100644 --- a/pkgs/development/python-modules/busylight-for-humans/default.nix +++ b/pkgs/development/python-modules/busylight-for-humans/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "busylight-for-humans"; - version = "0.45.3"; + version = "0.48.0"; pyproject = true; src = fetchFromGitHub { owner = "JnyJny"; repo = "busylight"; tag = "v${version}"; - hash = "sha256-EP+2jWOrXQE8sZQYclMMbpfr+FmPHIbZ35NNbfCTnUk="; + hash = "sha256-5sQXW55P/iWhDWY6bGzN8IrWCJyrSvu2ObtIOolo2X0="; }; build-system = [ hatchling ]; From 0f1c8c0d00db375346d0f6b7dd8793a3b0945173 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 5 May 2026 08:31:17 +0200 Subject: [PATCH 2/3] python3Packages.busylight-for-humans: migrate to finalAttrs --- .../python-modules/busylight-for-humans/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/busylight-for-humans/default.nix b/pkgs/development/python-modules/busylight-for-humans/default.nix index 94e48e370886..fc46442c73ee 100644 --- a/pkgs/development/python-modules/busylight-for-humans/default.nix +++ b/pkgs/development/python-modules/busylight-for-humans/default.nix @@ -18,7 +18,7 @@ webcolors, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "busylight-for-humans"; version = "0.48.0"; pyproject = true; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "JnyJny"; repo = "busylight"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-5sQXW55P/iWhDWY6bGzN8IrWCJyrSvu2ObtIOolo2X0="; }; @@ -55,7 +55,7 @@ buildPythonPackage rec { pytest-mock udevCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); disabledTestPaths = [ "tests/test_pydantic_models.py" ]; @@ -69,7 +69,7 @@ buildPythonPackage rec { meta = { description = "Control USB connected presence lights from multiple vendors via the command-line or web API"; homepage = "https://github.com/JnyJny/busylight"; - changelog = "https://github.com/JnyJny/busylight/releases/tag/${src.tag}"; + changelog = "https://github.com/JnyJny/busylight/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ das_j @@ -77,4 +77,4 @@ buildPythonPackage rec { ]; mainProgram = "busylight"; }; -} +}) From 439f21a937326e3f0081de5b9291a67254fbfa5e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 5 May 2026 08:32:36 +0200 Subject: [PATCH 3/3] python3Packages.busylight-for-humans: add web as optional dependency --- pkgs/development/python-modules/busylight-for-humans/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/busylight-for-humans/default.nix b/pkgs/development/python-modules/busylight-for-humans/default.nix index fc46442c73ee..9950b2edc9ad 100644 --- a/pkgs/development/python-modules/busylight-for-humans/default.nix +++ b/pkgs/development/python-modules/busylight-for-humans/default.nix @@ -43,6 +43,7 @@ buildPythonPackage (finalAttrs: { ]; optional-dependencies = { + web = [ fastapi ]; webapi = [ fastapi uvicorn