1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5}:
6
7buildPythonPackage rec {
8 # the frontend version corresponding to a specific home-assistant version can be found here
9 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
10 pname = "home-assistant-frontend";
11 version = "20250702.3";
12 format = "wheel";
13
14 src = fetchPypi {
15 inherit version format;
16 pname = "home_assistant_frontend";
17 dist = "py3";
18 python = "py3";
19 hash = "sha256-Uj7auy5emdP8l9vUxLbAL28UNoAi1OQ/8qIhmJMmA8Q=";
20 };
21
22 # there is nothing to strip in this package
23 dontStrip = true;
24
25 # no Python tests implemented
26 doCheck = false;
27
28 meta = with lib; {
29 changelog = "https://github.com/home-assistant/frontend/releases/tag/${version}";
30 description = "Frontend for Home Assistant";
31 homepage = "https://github.com/home-assistant/frontend";
32 license = licenses.asl20;
33 teams = [ teams.home-assistant ];
34 };
35}