depot/third_party/nixpkgs/pkgs/development/python-modules/knx-frontend/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
778 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "knx-frontend";
version = "2024.1.20.105944";
format = "pyproject";
# TODO: source build, uses yarn.lock
src = fetchPypi {
pname = "knx_frontend";
inherit version;
hash = "sha256-5u+BaZjbGpIpQd3k+u5NC099TQuiwGKdE/EoIWny01I=";
};
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 ];
};
}