From d5206856bbcdb7d44fe450bbdc530a909d5032db Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sat, 9 Aug 2025 23:34:10 -0700 Subject: [PATCH 1/2] python3Packages.pyitachip2ir: init at 0.0.7 --- .../python-modules/pyitachip2ir/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/pyitachip2ir/default.nix diff --git a/pkgs/development/python-modules/pyitachip2ir/default.nix b/pkgs/development/python-modules/pyitachip2ir/default.nix new file mode 100644 index 000000000000..e74a2fb9ed97 --- /dev/null +++ b/pkgs/development/python-modules/pyitachip2ir/default.nix @@ -0,0 +1,31 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage rec { + pname = "pyitachip2ir"; + version = "0.0.7"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-T/Q3tZTTwqlaHDR2l2nRLISC4LLrOPZZv14sRxYyqDQ="; + }; + + build-system = [ setuptools ]; + + # Package has no tests + doCheck = false; + + pythonImportsCheck = [ "pyitachip2ir" ]; + + meta = { + description = "Library for sending IR commands to an ITach IP2IR gateway"; + homepage = "https://github.com/alanfischer/itachip2ir"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 009c0093e8fa..e4e655134e46 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13042,6 +13042,8 @@ self: super: with self; { pyisy = callPackage ../development/python-modules/pyisy { }; + pyitachip2ir = callPackage ../development/python-modules/pyitachip2ir { }; + pyituran = callPackage ../development/python-modules/pyituran { }; pyixapi = callPackage ../development/python-modules/pyixapi { }; From aabec82c928476e727373a6c3f96ba4b6766c418 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sat, 9 Aug 2025 23:35:12 -0700 Subject: [PATCH 2/2] home-assistant: update component packages --- pkgs/servers/home-assistant/component-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 2991b78bb160..604d233f1e4b 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2835,7 +2835,8 @@ ]; "itach" = ps: with ps; [ - ]; # missing inputs: pyitachip2ir + pyitachip2ir + ]; "itunes" = ps: with ps; [ ];