diff --git a/pkgs/development/python-modules/pyitachip2ir2/default.nix b/pkgs/development/python-modules/pyitachip2ir2/default.nix new file mode 100644 index 000000000000..2d8b779390f2 --- /dev/null +++ b/pkgs/development/python-modules/pyitachip2ir2/default.nix @@ -0,0 +1,31 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage (finalAttrs: { + pname = "pyitachip2ir2"; + version = "0.0.8"; + pyproject = true; + + src = fetchPypi { + inherit (finalAttrs) pname version; + hash = "sha256-QBBajL3UCVPrIMmff9L//gGsHF0WDRnbfc8hV1tWMxE="; + }; + + 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/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 6bc6755acd35..3a7b6f6c4d7b 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -3245,7 +3245,8 @@ ]; "itach" = ps: with ps; [ - ]; # missing inputs: pyitachip2ir2 + pyitachip2ir2 + ]; "itunes" = ps: with ps; [ ]; @@ -8265,6 +8266,7 @@ "iss" "ista_ecotrend" "isy994" + "itach" "ituran" "izone" "jellyfin" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 06209e5e9e8a..32f29e2ad2a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14819,6 +14819,8 @@ self: super: with self; { pyitachip2ir = callPackage ../development/python-modules/pyitachip2ir { }; + pyitachip2ir2 = callPackage ../development/python-modules/pyitachip2ir2 { }; + pyituran = callPackage ../development/python-modules/pyituran { }; pyixapi = callPackage ../development/python-modules/pyixapi { };