159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
34 lines
769 B
Nix
34 lines
769 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "knx-frontend";
|
|
version = "2024.9.10.221729";
|
|
pyproject = true;
|
|
|
|
# TODO: source build, uses yarn.lock
|
|
src = fetchPypi {
|
|
pname = "knx_frontend";
|
|
inherit version;
|
|
hash = "sha256-Imv4DcQCdT5iHIsDtxzLRwTWQqRgR4ASx/kdkmIbK6o=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "knx_frontend" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|