From ddc686782945b9243db794e524e1448e1940ac21 Mon Sep 17 00:00:00 2001 From: Bartosz Stebel Date: Sun, 12 Apr 2026 22:57:19 +0200 Subject: [PATCH 1/2] maintainers: add implr --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 17ec4577d6e7..4638ad524bb5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11504,6 +11504,13 @@ name = "Noah Fontes"; keys = [ { fingerprint = "F5B2 BE1B 9AAD 98FE 2916 5597 3665 FFF7 9D38 7BAA"; } ]; }; + implr = { + email = "bartoszstebel@gmail.com"; + matrix = "@implr:hackerspace.pl"; + github = "implr"; + githubId = 2821175; + name = "Bartosz Stebel"; + }; imrying = { email = "philiprying@gmail.com"; github = "imrying"; From f03f1bfed0a386c4480855da4a8612ff19dba783 Mon Sep 17 00:00:00 2001 From: Bartosz Stebel Date: Sat, 2 May 2026 02:38:13 +0200 Subject: [PATCH 2/2] home-assistant-custom-components.ecoflow_ble: init at 0.8.5 --- .../custom-components/ecoflow_ble/package.nix | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pkgs/servers/home-assistant/custom-components/ecoflow_ble/package.nix diff --git a/pkgs/servers/home-assistant/custom-components/ecoflow_ble/package.nix b/pkgs/servers/home-assistant/custom-components/ecoflow_ble/package.nix new file mode 100644 index 000000000000..080708954304 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/ecoflow_ble/package.nix @@ -0,0 +1,54 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + bleak, + bleak-retry-connector, + crc, + ecdsa, + jsonpath-ng, + protobuf6, + pycryptodome, + pytestCheckHook, + pytest-asyncio, + pytest-mock, + nix-update-script, +}: + +buildHomeAssistantComponent rec { + owner = "rabits"; + domain = "ef_ble"; + version = "0.8.5"; + + src = fetchFromGitHub { + owner = "rabits"; + repo = "ha-ef-ble"; + tag = "v${version}"; + hash = "sha256-hqwsoG8BkB16zR5MX3NNltEQAZR0ZhVFNXSqDsvep+0="; + }; + + dependencies = [ + bleak + bleak-retry-connector + ecdsa + crc + protobuf6 + pycryptodome + ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-asyncio + pytest-mock + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + changelog = "https://github.com/rabits/ha-ef-ble/releases/tag/v${version}"; + description = "Home Assistant component for EcoFlow BLE devices (local)"; + homepage = "https://github.com/rabits/ha-ef-ble"; + maintainers = with lib.maintainers; [ implr ]; + license = lib.licenses.asl20; + }; +}