37 lines
783 B
Nix
37 lines
783 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "knx-frontend";
|
|
version = "2023.6.9.195839";
|
|
format = "pyproject";
|
|
|
|
# TODO: source build, uses yarn.lock
|
|
src = fetchPypi {
|
|
pname = "knx_frontend";
|
|
inherit version;
|
|
hash = "sha256-lShWlrnELpDamXT2OQvQTKOCOODv+iSxJ9pA5tIgxdM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|