{ lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies pyyaml, unicode-rbnf, # tests pytestCheckHook, }: let pname = "hassil"; version = "3.5.0"; in buildPythonPackage rec { inherit pname version; pyproject = true; src = fetchFromGitHub { owner = "home-assistant"; repo = "hassil"; tag = "v${version}"; hash = "sha256-ei4+eGNCzBZQYghgVuQIPgFA2Y1kf8aNtl6ZjwzxIEE="; }; build-system = [ setuptools ]; dependencies = [ pyyaml unicode-rbnf ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ # infinite recursion with home-assistant.intents "tests/test_fuzzy.py" ]; meta = { changelog = "https://github.com/home-assistant/hassil/blob/${src.tag}/CHANGELOG.md"; description = "Intent parsing for Home Assistant"; mainProgram = "hassil"; homepage = "https://github.com/home-assistant/hassil"; license = lib.licenses.asl20; teams = [ lib.teams.home-assistant ]; }; }