forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / servers / home-assistant / frontend.nix
blob53bc67e5317957d64a6ce379d278caebf10c5265
1 { lib, fetchPypi, buildPythonPackage }:
3 buildPythonPackage rec {
4   # the frontend version corresponding to a specific home-assistant version can be found here
5   # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
6   pname = "home-assistant-frontend";
7   version = "20241106.2";
8   format = "wheel";
10   src = fetchPypi {
11     inherit version format;
12     pname = "home_assistant_frontend";
13     dist = "py3";
14     python = "py3";
15     hash = "sha256-9Il9/lHKIaymw7H8fL1gpp80+VzSqVJ1IyHGEa3OoO8=";
16   };
18   # there is nothing to strip in this package
19   dontStrip = true;
21   # no Python tests implemented
22   doCheck = false;
24   meta = with lib; {
25     changelog = "https://github.com/home-assistant/frontend/releases/tag/${version}";
26     description = "Frontend for Home Assistant";
27     homepage = "https://github.com/home-assistant/frontend";
28     license = licenses.asl20;
29     maintainers = teams.home-assistant.members;
30   };