nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 = "20260107.2";
12 format = "wheel";
13
14 src = fetchPypi {
15 inherit version;
16 format = "wheel";
17 pname = "home_assistant_frontend";
18 dist = "py3";
19 python = "py3";
20 hash = "sha256-NPgtoNS4HgCBhRfHHJ835I5IvOCAggCnR81ieH/ItI0=";
21 };
22
23 # there is nothing to strip in this package
24 dontStrip = true;
25
26 # no Python tests implemented
27 doCheck = false;
28
29 meta = {
30 changelog = "https://github.com/home-assistant/frontend/releases/tag/${version}";
31 description = "Frontend for Home Assistant";
32 homepage = "https://github.com/home-assistant/frontend";
33 license = lib.licenses.asl20;
34 teams = [ lib.teams.home-assistant ];
35 };
36}