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/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 43a40674b9a5..7f5e0bc77b84 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2836,7 +2836,8 @@ ]; "itach" = ps: with ps; [ - ]; # missing inputs: pyitachip2ir + pyitachip2ir + ]; "itunes" = ps: with ps; [ ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b128f7ff1823..5c8c56dc8041 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13044,6 +13044,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 { };