From 126a01503e35b1d7ed779a8d49ea5a47524c836b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 29 Jun 2026 08:35:01 -0700 Subject: [PATCH 1/2] python3Packages.blinkpy: 0.25.6 -> 0.25.7 Diff: https://github.com/fronzbot/blinkpy/compare/v0.25.6...v0.25.7 Changelog: https://github.com/fronzbot/blinkpy/releases/tag/v0.25.7 --- pkgs/development/python-modules/blinkpy/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/blinkpy/default.nix b/pkgs/development/python-modules/blinkpy/default.nix index 0f9a6383ac50..84823bd41ee5 100644 --- a/pkgs/development/python-modules/blinkpy/default.nix +++ b/pkgs/development/python-modules/blinkpy/default.nix @@ -15,24 +15,29 @@ buildPythonPackage rec { pname = "blinkpy"; - version = "0.25.6"; + version = "0.25.7"; pyproject = true; src = fetchFromGitHub { owner = "fronzbot"; repo = "blinkpy"; tag = "v${version}"; - hash = "sha256-OAa5sYuFGsxiS5r+v69dnXCQs7rmAFAHbmNXm3S6cgY="; + hash = "sha256-/GaSnovF6IwIKdbQ4bTqXI/lZERa2DhbLalOO+ZYXEY="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "wheel>=0.40,<0.47" wheel \ - --replace-fail "setuptools>=68,<81" setuptools + --replace-fail "wheel>=0.40,<0.48" wheel \ + --replace-fail "setuptools>=68,<83" setuptools ''; build-system = [ setuptools ]; + pythonRelaxDeps = [ + "aiohttp" + "requests" + ]; + dependencies = [ aiofiles aiohttp From 0e47ab4a243224ec0591e867cf46b8b250a9a1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 29 Jun 2026 08:40:09 -0700 Subject: [PATCH 2/2] python3Packages.blinkpy: use finalAttrs --- pkgs/development/python-modules/blinkpy/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/blinkpy/default.nix b/pkgs/development/python-modules/blinkpy/default.nix index 84823bd41ee5..428053437f7d 100644 --- a/pkgs/development/python-modules/blinkpy/default.nix +++ b/pkgs/development/python-modules/blinkpy/default.nix @@ -13,7 +13,7 @@ sortedcontainers, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "blinkpy"; version = "0.25.7"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fronzbot"; repo = "blinkpy"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/GaSnovF6IwIKdbQ4bTqXI/lZERa2DhbLalOO+ZYXEY="; }; @@ -65,8 +65,8 @@ buildPythonPackage rec { meta = { description = "Python library for the Blink Camera system"; homepage = "https://github.com/fronzbot/blinkpy"; - changelog = "https://github.com/fronzbot/blinkpy/releases/tag/${src.tag}"; + changelog = "https://github.com/fronzbot/blinkpy/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})