From 9c5f25911caa1ccbb2a1b1cc642b8289f244e257 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 7 Jun 2023 23:31:26 +0200 Subject: [PATCH] python310Packages.knx-frontend: init at 2023.5.31.141540 --- .../python-modules/knx-frontend/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/knx-frontend/default.nix diff --git a/pkgs/development/python-modules/knx-frontend/default.nix b/pkgs/development/python-modules/knx-frontend/default.nix new file mode 100644 index 000000000000..15797260ad3d --- /dev/null +++ b/pkgs/development/python-modules/knx-frontend/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +}: + +buildPythonPackage rec { + pname = "knx-frontend"; + version = "2023.5.31.141540"; + format = "pyproject"; + + # TODO: source build, uses yarn.lock + src = fetchPypi { + pname = "knx_frontend"; + inherit version; + hash = "sha256-j0p3PUYnKsyuDaN+nMrIHhxLYhNXVkZQkgsp//ZTsXE="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3a1693f83d0e..8f25ae5b8622 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5495,6 +5495,8 @@ self: super: with self; { kneed = callPackage ../development/python-modules/kneed { }; + knx-frontend = callPackage ../development/python-modules/knx-frontend { }; + kombu = callPackage ../development/python-modules/kombu { }; konnected = callPackage ../development/python-modules/konnected { };