1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "knx-frontend";
10 version = "2025.8.24.205840";
11 pyproject = true;
12
13 # TODO: source build, uses yarn.lock
14 src = fetchPypi {
15 pname = "knx_frontend";
16 inherit version;
17 hash = "sha256-rwRn/2B9EoK2FppSVinx/I6d/Je1cI89gbmAztqY7xE=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "knx_frontend" ];
23
24 # no tests
25 doCheck = false;
26
27 meta = with lib; {
28 changelog = "https://github.com/XKNX/knx-frontend/releases/tag/${version}";
29 description = "Home Assistant Panel for managing the KNX integration";
30 homepage = "https://github.com/XKNX/knx-frontend";
31 license = licenses.mit;
32 maintainers = with maintainers; [ hexa ];
33 };
34}