1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "knx-frontend";
10 version = "2024.1.20.105944";
11 format = "pyproject";
12
13 # TODO: source build, uses yarn.lock
14 src = fetchPypi {
15 pname = "knx_frontend";
16 inherit version;
17 hash = "sha256-5u+BaZjbGpIpQd3k+u5NC099TQuiwGKdE/EoIWny01I=";
18 };
19
20 nativeBuildInputs = [ 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}