home-assistant.intents: 2026.5.5 -> 2026.6.1

We hack around the missing release. I don't expect the actual relase to
differ.
This commit is contained in:
Martin Weinelt
2026-06-03 23:32:24 +02:00
parent c2f2b8674a
commit cf9390a2ae

View File

@@ -19,19 +19,37 @@
pytestCheckHook,
}:
let
intents = fetchFromGitHub {
owner = "OHF-Voice";
repo = "intents";
rev = "4178d174018d408209879c44e98aa150335a1656";
hash = "sha256-xMH3lZaI4sSvicSMFaGCeYlcr5SrhA8nB/krrN0kyQo=";
};
in
buildPythonPackage (finalAttrs: {
pname = "home-assistant-intents";
version = "2026.5.5";
version = "2026.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "OHF-Voice";
repo = "intents-package";
tag = finalAttrs.version;
# https://github.com/OHF-Voice/intents-package/issues/14
tag = "2026.5.5";
fetchSubmodules = true;
hash = "sha256-R6PPZSiDiFvB+lNxyuIHwMIgpQvVI0oqrucnw4jnYNU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '2026.5.5' '2026.6.1'
rm -rf intents
ln -sf ${intents} intents
'';
build-system = [
setuptools
@@ -63,6 +81,7 @@ buildPythonPackage (finalAttrs: {
changelog = "https://github.com/OHF-Voice/intents-package/releases/tag/${finalAttrs.src.tag}";
description = "Intents to be used with Home Assistant";
homepage = "https://github.com/OHF-Voice/intents-package";
# https://github.com/OHF-Voice/intents-package/issues/12
license = lib.licenses.cc-by-40;
teams = [ lib.teams.home-assistant ];
};