{ lib, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage rec { pname = "knx-frontend"; version = "2026.4.30.60856"; pyproject = true; # TODO: source build, uses yarn.lock src = fetchPypi { pname = "knx_frontend"; inherit version; hash = "sha256-ZviZoQY0ZlIgiiEKwsOpTRVoi8F1JPE1RqD8Nzozpr4="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "knx_frontend" ]; # no tests doCheck = false; meta = { changelog = "https://github.com/XKNX/knx-frontend/releases/tag/${version}"; description = "Home Assistant Panel for managing the KNX integration"; homepage = "https://github.com/XKNX/knx-frontend"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; }