From f7fe61fc34d95a714c4878e6f18858c032bba9dc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 2 May 2026 16:23:07 +0000 Subject: [PATCH 1/2] python3Packages.pyintesishome: 1.8.5 -> 1.8.7 --- pkgs/development/python-modules/pyintesishome/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyintesishome/default.nix b/pkgs/development/python-modules/pyintesishome/default.nix index 218cf2870c53..96ef3a1f9c93 100644 --- a/pkgs/development/python-modules/pyintesishome/default.nix +++ b/pkgs/development/python-modules/pyintesishome/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "pyintesishome"; - version = "1.8.5"; + version = "1.8.7"; format = "setuptools"; src = fetchFromGitHub { owner = "jnimmo"; repo = "pyIntesisHome"; tag = version; - hash = "sha256-QgIvIn8I5EtJSNj1FdOI+DPgG7/y2ToQ62dhk7flieo="; + hash = "sha256-TwZAuu/mnChZwhZ5uGPiQ23curCiqTKWNgDrvwpgojc="; }; propagatedBuildInputs = [ aiohttp ]; From 16939eba9a911d2c1a07e3bc28f773365ec89382 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 3 May 2026 14:32:14 +0200 Subject: [PATCH 2/2] python3Packages.pyintesishome: modernize --- .../python-modules/pyintesishome/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyintesishome/default.nix b/pkgs/development/python-modules/pyintesishome/default.nix index 96ef3a1f9c93..afccc4be5f55 100644 --- a/pkgs/development/python-modules/pyintesishome/default.nix +++ b/pkgs/development/python-modules/pyintesishome/default.nix @@ -3,21 +3,24 @@ aiohttp, buildPythonPackage, fetchFromGitHub, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyintesishome"; version = "1.8.7"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "jnimmo"; repo = "pyIntesisHome"; - tag = version; + tag = finalAttrs.version; hash = "sha256-TwZAuu/mnChZwhZ5uGPiQ23curCiqTKWNgDrvwpgojc="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Project has no tests doCheck = false; @@ -27,8 +30,8 @@ buildPythonPackage rec { meta = { description = "Python interface for IntesisHome devices"; homepage = "https://github.com/jnimmo/pyIntesisHome"; - changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${version}"; - license = with lib.licenses; [ mit ]; + changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})