home-assistant-custom-components.closest_intent: init at 0.1.0
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
rapidfuzz,
|
||||
# Test dependencies
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent (finalAttrs: {
|
||||
owner = "charludo";
|
||||
domain = "closest_intent";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit (finalAttrs) owner;
|
||||
repo = "hass-closest-intent";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-8ST+xYqmDwovDqNLnDsoIvIoPIDussAswGOOvMhRQWk=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
rapidfuzz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pyyaml
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/charludo/hass-closest-intent/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Fuzzy intent matcher for Home Assistant; garbled STT output in, actual intent out";
|
||||
homepage = "https://github.com/charludo/hass-closest-intent";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
charludo
|
||||
jpds
|
||||
];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user