Loading pkgs/development/python-modules/rctclient/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, click, setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "rctclient"; version = "0.0.4"; pyproject = true; src = fetchFromGitHub { owner = "svalouch"; repo = "python-rctclient"; tag = "v${version}"; hash = "sha256-QPla5h8wSM9Ynj44Uwc1a2yAnu8TXbyBWzVHQeW6jnI="; }; build-system = [ setuptools ]; optional-dependencies.cli = [ click ]; pythonImportsCheck = [ "rctclient" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python implementation of the RCT Power GmbH Serial Communication Protocol"; homepage = "https://github.com/svalouch/python-rctclient"; changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ _9R ]; }; } pkgs/servers/home-assistant/custom-components/rct_power/package.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildHomeAssistantComponent, rctclient, }: buildHomeAssistantComponent rec { owner = "weltenwort"; domain = "rct_power"; version = "v0.14.1"; src = fetchFromGitHub { owner = "weltenwort"; repo = "home-assistant-rct-power-integration"; tag = version; hash = "sha256-wM66MyRhBsMfUr+KlqV4jSuXcnKfW0fkbDAyuU2crsc="; }; dependencies = [ rctclient ]; doCheck = false; # no tests meta = with lib; { changelog = "https://github.com/weltenwort/home-assistant-rct-power-integration/releases/tag/${src.tag}"; description = "Custom integration for RCT Power Inverters"; homepage = "https://github.com/weltenwort/home-assistant-rct-power-integration"; maintainers = with maintainers; [ _9R ]; license = licenses.mit; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14868,6 +14868,8 @@ self: super: with self; { rcssmin = callPackage ../development/python-modules/rcssmin { }; rctclient = callPackage ../development/python-modules/rctclient { }; rdbtools = callPackage ../development/python-modules/rdbtools { }; rdflib = callPackage ../development/python-modules/rdflib { }; Loading
pkgs/development/python-modules/rctclient/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, click, setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "rctclient"; version = "0.0.4"; pyproject = true; src = fetchFromGitHub { owner = "svalouch"; repo = "python-rctclient"; tag = "v${version}"; hash = "sha256-QPla5h8wSM9Ynj44Uwc1a2yAnu8TXbyBWzVHQeW6jnI="; }; build-system = [ setuptools ]; optional-dependencies.cli = [ click ]; pythonImportsCheck = [ "rctclient" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python implementation of the RCT Power GmbH Serial Communication Protocol"; homepage = "https://github.com/svalouch/python-rctclient"; changelog = "https://github.com/svalouch/python-rctclient/releases/tag/${src.tag}"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ _9R ]; }; }
pkgs/servers/home-assistant/custom-components/rct_power/package.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildHomeAssistantComponent, rctclient, }: buildHomeAssistantComponent rec { owner = "weltenwort"; domain = "rct_power"; version = "v0.14.1"; src = fetchFromGitHub { owner = "weltenwort"; repo = "home-assistant-rct-power-integration"; tag = version; hash = "sha256-wM66MyRhBsMfUr+KlqV4jSuXcnKfW0fkbDAyuU2crsc="; }; dependencies = [ rctclient ]; doCheck = false; # no tests meta = with lib; { changelog = "https://github.com/weltenwort/home-assistant-rct-power-integration/releases/tag/${src.tag}"; description = "Custom integration for RCT Power Inverters"; homepage = "https://github.com/weltenwort/home-assistant-rct-power-integration"; maintainers = with maintainers; [ _9R ]; license = licenses.mit; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14868,6 +14868,8 @@ self: super: with self; { rcssmin = callPackage ../development/python-modules/rcssmin { }; rctclient = callPackage ../development/python-modules/rctclient { }; rdbtools = callPackage ../development/python-modules/rdbtools { }; rdflib = callPackage ../development/python-modules/rdflib { };